In a single month, I was forced to face 3 crashes in my productions db. Database is sitting on DB2v9.5.8 32 bit , on a VM. The database has grown recently and when there is a stored procedure is running on a particular table the inconsistency happens.
What the procedure is doing is the following;
insert into DISK_MASTER (host_name,DISK)
select distinct upper(scope.sanitize_hostname(HOST_NAME)),UPPER(ca se when DISPLAYNAME is null then '' else DISPLAYNAME end) from
DISK_TADDM
where host_name is not null and TYPE in('IDE disk','SCSI disk') and in_rollup=0
EXCEPT select upper(host_name),UPPER(disk) from DISK_MASTER;--
the child table got around 2 crore data.
Attaching the error screen shots for expert advice. Now the db2diag.log is flooding with the error
2013-01-13-15.27.13.573000+660 I958809771H539 LEVEL: Error
PID : 2120 TID : 7484 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : NABDB
APPHDL : 0-5857 APPID: *LOCAL.DB2.130108061034
AUTHID : DB2ADMIN
EDUID : 7484 EDUNAME: db2agent (NABDB) 0
FUNCTION: DB2 UDB, data protection services, sqlpgWaitForLrecBufferLimit, probe:
410
MESSAGE : Ignore rc:
DATA #1 : Hexdump, 4 bytes
0x042F5B00 : 5101 0F87 Q...
I have a backup, but would like to fix this than a restore.. pls advice ur expert opinion.
What the procedure is doing is the following;
insert into DISK_MASTER (host_name,DISK)
select distinct upper(scope.sanitize_hostname(HOST_NAME)),UPPER(ca se when DISPLAYNAME is null then '' else DISPLAYNAME end) from
DISK_TADDM
where host_name is not null and TYPE in('IDE disk','SCSI disk') and in_rollup=0
EXCEPT select upper(host_name),UPPER(disk) from DISK_MASTER;--
the child table got around 2 crore data.
Attaching the error screen shots for expert advice. Now the db2diag.log is flooding with the error
2013-01-13-15.27.13.573000+660 I958809771H539 LEVEL: Error
PID : 2120 TID : 7484 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : NABDB
APPHDL : 0-5857 APPID: *LOCAL.DB2.130108061034
AUTHID : DB2ADMIN
EDUID : 7484 EDUNAME: db2agent (NABDB) 0
FUNCTION: DB2 UDB, data protection services, sqlpgWaitForLrecBufferLimit, probe:
410
MESSAGE : Ignore rc:
DATA #1 : Hexdump, 4 bytes
0x042F5B00 : 5101 0F87 Q...
I have a backup, but would like to fix this than a restore.. pls advice ur expert opinion.