DB2 - Problem description
| Problem IC82929 | Status: Closed |
RUNSTATS COMMAND RECORDS UNNECESSARY MESSAGE IN DB2DIAG.LOG,IF TABLESPACE IS BACKUP PENDING STATE. | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problem description: | |
runstats command records unnecessary message in db2diag.log.
Tablespace is Backup pending state.
$ db2 list tablespaces
... snip ...
Tablespace ID = 2
Name = USERSPACE1
Type = Database managed space
Contents = All permanent data.
Large table space.
State = 0x0020
Detailed explanation:
Backup pending
Then execute runstats command against index.
$ db2 "runstats on table db2inst1.employee for indexes all"
DB20000I The RUNSTATS command completed successfully.
In db2diag.log, runstats command recorded the following entry.
2012-04-23-16.04.39.230810+540 I1819A507 LEVEL: Severe
PID : 11665458 TID : 2489 PROC : db2sysc
0
INSTANCE: db2inst1 NODE : 000 DB : SAMPLE
APPHDL : 0-69 APPID:
*LOCAL.db2inst1.120423065646
AUTHID : DB2INST1
EDUID : 2489 EDUNAME: db2agent (SAMPLE) 0
FUNCTION: DB2 UDB, index manager, sqlifix, probe:371
RETCODE : ZRC=0x80020032=-2147352526=SQLB_NOT_ALLOWED_BACKUP_P
"Access not allowed. Tblspc Backup Pend."
... snip ...
2012-04-23-16.04.39.247349+540 I5743A522 LEVEL: Error
PID : 11665458 TID : 2489 PROC : db2sysc
0
INSTANCE: db2inst1 NODE : 000 DB : SAMPLE
APPHDL : 0-69 APPID:
*LOCAL.db2inst1.120423065646
AUTHID : DB2INST1
EDUID : 2489 EDUNAME: db2agent (SAMPLE) 0
FUNCTION: DB2 UDB, relation data serv, sqlrLocalRunstats,
probe:2010
MESSAGE : ZRC=0x80020032=-2147352526=SQLB_NOT_ALLOWED_BACKUP_P
"Access not allowed. Tblspc Backup Pend." | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 UDB version 9.7 fix pack 7. * **************************************************************** | |
| Local Fix: | |
| available fix packs: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
| Solution | |
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 7. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.04.2012 30.10.2012 30.10.2012 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP7 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.7 |
|