简体   繁体   English

是否有与SQL Profiler等效的IBM Iseries / DB2?

[英]Is there an IBM Iseries/DB2 equivalent to SQL Profiler?

Subject says it all. 主题说明了一切。 Looking to capture sql submitted to DB2. 期待捕获提交给DB2的sql。

Take a look at the Iseries SQL Exit Points which will allow you to log any submitted SQL. 查看Iseries SQL退出点,它将允许您记录任何提交的SQL。 The only problem is you will have to write your own programs to do the logging: 唯一的问题是你必须编写自己的程序来进行日志记录:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzaik%2Frzaikodbcexitprog.htm http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzaik%2Frzaikodbcexitprog.htm

If you have Java support enabled, you can use SQL PL Profiler. 如果启用了Java支持,则可以使用SQL PL Profiler。

http://www.ibm.com/developerworks/data/library/techarticle/dm-0406rielau/index.html http://www.ibm.com/developerworks/data/library/techarticle/dm-0406rielau/index.html

我使用DB2 Command Center和生成的树的图形视图

In iSeries Navigator, there is SQL Performance Monitor. 在iSeries Navigator中,有SQL Performance Monitor。 I haven't ever been able to figure it out, but it might be what you are looking for. 我从来没有弄明白,但它可能是你在寻找的东西。

iSeries Navigator的屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM