ステージ・コピー・ユーティリティー、ステージ伝搬ユーティリティー、 またはデータベース・クリーンアップ・ユーティリティーを使用する前に、以下を実行してください。
db2 update db config for db_name using STMTHEAP 60000
db2 update db config for db_name using LOCKLIST 512
db2 update db config for db_name using LOGPRIMARY 80
db2 update db config for db_name using LOGBUFSZ 512
db2 update db config for db_name using DBHEAP 2048
db2 update db config for db_name using APPLHEAPSZ 2048
db2 update db config for db_name using PCKCACHESZ
8200
db2 update db config for db_name using STAT_HEAP_SZ 2048
db2 update db config for db_name using APP_CTL_HEAP_SZ 4096
ここで db_name はデータベースの名前です。
db2 connect to db_name
db2 alter bufferpool IBMDEFAULTBP size n
db2 terminate
ここで n は最適なバッファー・プール・サイズです。
![]() |