IBM Support

[Db2] アクティビティー・イベント・モニターを使用してデータベースで実行された SQL を記録する方法

How To


Summary

Db2 データベースは、デフォルトで実行された SQL の履歴を残しません。
パッケージ・キャッシュにキャッシュされている SQL はデータベースの非活動化で消去されるだけでなく、新しい SQL の実行要求に従って LRU アルゴリズムでクリーンナップされていくため、履歴という観点では使用できません。

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PmIAAU","label":"Monitors-\u003EEvent Monitor"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1.0;10.5.0;11.1.0;11.5.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

ibm16607812