开发者

Database Custom Profiler FOr .Net or Java

开发者 https://www.devze.com 2023-01-05 22:18 出处:网络
Microsoft provided us a way to开发者_开发百科 create our own profiler by using Microsft.* namespaces. I can trace all queries going to any MS SQL instance. I need to do this on MySQL as well. Is there

Microsoft provided us a way to开发者_开发百科 create our own profiler by using Microsft.* namespaces. I can trace all queries going to any MS SQL instance. I need to do this on MySQL as well. Is there any api available for .net or java to do this? If anyone can provide also a working code is very much appreciated thanks alot.


Traditionally p6spy has been used for wrapping a JDBC-connection in Java to help analyze and debug said connection, for instance printing out all SQL going to the database. See https://stackoverflow.com/search?q=p6spy for questions about p6spy.

http://www.p6spy.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消