JDBC 分析工具
我们需要分析多个 Web 应用程序的 JDBC 操作、查询数量、花费的时间、返回的行...
您使用过任何免费/商业 JDBC 分析工具吗?你有什么经历?
谢谢。
We need to profile the JDBC operations of several web applications, number of queries, time spent, rows returned, ...
Have you used any free/commercial JDBC profiling tool? What are your experiences?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
现在 VisualVM 也支持 JDBC 分析。
看看吧
https://visualvm.github.io/download.html
Now VisualVM supports JDBC profiling as well.
Just have a look
https://visualvm.github.io/download.html
我所知道的唯一 JDBC 分析工具是 P6Spy。古老但仍然有效。
The only JDBC profiling tool that I know is P6Spy. Ancient but still works.
也请查看 JAMon(Java 应用程序监视器)。也比较旧,但可以工作。
Check out JAMon (Java Application Monitor) too. Also older, but works.
IntelliJ IDEA
有一个名为Fluid
用于HTTP
和JDBC
图书馆。看来正在积极开发中。IntelliJ IDEA
has a plugin calledFluid
forHTTP
andJDBC
libraries. It seems to be actively developed.我从未使用过它,但遇到过 Elvyx。再说一遍,最近没有更新。
I have never used it but have come across Elvyx. Again it has not been updated recently.
JProfiler 中内置了一个 JDBC 分析器(转到“热点”视图 -> JDBC),这是迄今为止我见过的最好的东西......
There is a JDBC profiler built in a JProfiler (go to Hotspots view -> JDBC), best thing I've seen so far...
您可以使用 Jdbc 间谍:https://github.com/lbaeumer/jdbcspy。
它可以非常轻松地配置,并将提供信息,执行哪些语句,持续时间最长的语句是什么,有关连接的其他统计信息,执行哪些语句的频率等。
You can use Jdbc spy: https://github.com/lbaeumer/jdbcspy.
It can be configured very easily and will provide information, which statements are executed, what are the statements with the longest duration, additional statistics about your connections, what statements are executed how often, etc.