IBM Support

即使AUTO_MAINT被设置成off,仍然会从诊断日志中发现Automatic Table Maintenance相关的信息

Troubleshooting


Problem

客户经常在诊断日志中发现Automatic Table Maintenance相关的错误信息,如Automatic Table Maintenance, db2HmonEvalReorg,atmRefreshInfoTable,AutoStats,但是DB CFG中AUTO_MAINT的状态是OFF

Symptom

db2 get db cfg for <db_name> :

Automatic maintenance (AUTO_MAINT) = OFF
Automatic database backup (AUTO_DB_BACKUP) = OFF
Automatic table maintenance (AUTO_TBL_MAINT) = OFF
Automatic runstats (AUTO_RUNSTATS) = OFF
Automatic statement statistics (AUTO_STMT_STATS) = OFF
Automatic statistics profiling (AUTO_STATS_PROF) = OFF
Automatic profile updates (AUTO_PROF_UPD) = OFF
Automatic reorganization (AUTO_REORG) = OFF

information about Automatic Table Maintenance in db2diag.log:

2016-03-31-23.32.21.852897+540 I20965E514 LEVEL: Error
PID : 7678 TID : 46912839444800PROC : db2acd 0
INSTANCE: ptulb020 NODE : 000 DB : PTOPSEFS
APPID : *LOCAL.ptulb020.160331143137
FUNCTION: DB2 UDB, Automatic Table Maintenance, db2HmonEvalReorg,
probe:515
MESSAGE : Failed to evaluate table "PTULB037"."POSITION_WNTSLTPZAN".
Probe 280
. SQLCODE = 0
DATA #1 : Hexdump, 4 bytes
0x00002AAABF21460C : 0000 0000 ....
.
2016-04-01-01.31.39.321304+540 E21995E484 LEVEL: Warning
PID : 7678 TID : 46912839444800PROC : db2acd 0
INSTANCE: ptulb020 NODE : 000 DB : PTOPSEFS
APPID : *LOCAL.ptulb020.160331163132
FUNCTION: DB2 UDB, Automatic Table Maintenance, atmRefreshInfoTable,
probe:435
DATA #1 : String, 11 bytes
AutoStats:
DATA #2 : String, 66 bytes
The current transaction has been rolled back because of a timeout.
DATA #3 : String, 5 bytes
40001
Action Plan: wait for reply
Action Plan Owner: Customer

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Database Objects\/Config - Database","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.7;10.1;10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

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

swg21981389