<分区>
Possible Duplicate:
Oracle: is there a tool to trace queries, like Profiler for sql server?
我正在使用 JDBC 与 Oracle 对话。有没有什么方法或外部工具可以跟踪在一个 session 期间从应用程序服务器提交到 Oracle 数据库服务器的所有 SQL 查询?这应该是非常棒的调试/错误跟踪工具。
<分区>
Possible Duplicate:
Oracle: is there a tool to trace queries, like Profiler for sql server?
我正在使用 JDBC 与 Oracle 对话。有没有什么方法或外部工具可以跟踪在一个 session 期间从应用程序服务器提交到 Oracle 数据库服务器的所有 SQL 查询?这应该是非常棒的调试/错误跟踪工具。
最佳答案
您可以使用 JDBC (Enabling and Using JDBC Logging)日志记录功能。
关于java - 如何跟踪从应用服务器提交到 Oracle 数据库的所有查询?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8265222/