reorgchk issue.....with deadlock
Up to DB2reorgchk issue.....with deadlock
Posted by Pawan at July 24. 2008Dear All,
Please look in my issue.
I am running below command...
db2 reorgchk update statistics on table all
but throwing error
SQL2310N The utility could not generate statistics. Error "-911" was
returned.
when i look in db2diag file ..there are also some errors and severe ..mentioned below...
2008-07-24-12.11.15.169185+330 I59560472G626 LEVEL: Severe
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -911 sqlerrml: 1
sqlerrmc: 2
sqlerrp : SQLRC029
sqlerrd : (1) 0x80100002 (2) 0x00000002 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate: 40001
2008-07-24-12.11.15.251551+330 I59561099G1055 LEVEL: Severe
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
MESSAGE : DB2RA
DATA #1 : Hexdump, 176 bytes
0xB77BDDF0 : 5351 4C44 4232 5241 B000 0000 0601 0200 SQLDB2RA........
0xB77BDE00 : 0D00 0D00 8800 0000 0900 0080 E4D3 1608 ................
0xB77BDE10 : 0000 0000 0000 0000 0000 0000 0B00 0000 ................
0xB77BDE20 : 0400 0040 D46A FFBF 0000 0000 0000 0000 ...@.j..........
0xB77BDE30 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE40 : 0800 0000 0100 0040 786A FFBF 0000 0000 .......@xj......
0xB77BDE50 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE60 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE70 : 0200 0000 0100 0040 E46A FFBF 0900 0000 .......@.j......
0xB77BDE80 : 0100 0040 F468 FFBF 0200 0000 0800 0040 ...@.h.........@
0xB77BDE90 : 286B FFBF 0000 0000 0400 0040 0000 0000 (k.........@....
2008-07-24-12.11.15.275235+330 I59564045G944 LEVEL: Error
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
FUNCTION: DB2 UDB, oper system services, sqlofica, probe:10
DATA #1 : Hexdump, 136 bytes
0xBFFF6AE4 : 5351 4C43 4120 2020 8800 0000 0BFE FFFF SQLCA ........
0xBFFF6AF4 : 0000 2020 2020 2020 2020 2020 2020 2020 ..
0xBFFF6B04 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B14 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B24 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B34 : 2020 2020 2020 2020 5351 4C41 4341 4C4C SQLACALL
0xBFFF6B44 : 8C00 0080 8C00 0000 0000 0000 0000 0000 ................
0xBFFF6B54 : 0000 0000 0000 0000 2020 2020 2020 2020 ........
0xBFFF6B64 : 2020 2032 3435 3031 24501
2008-07-24-12.11.15.275378+330 I59564990G944 LEVEL: Error
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
FUNCTION: DB2 UDB, oper system services, sqlofica, probe:10
DATA #1 : Hexdump, 136 bytes
0xBFFF6AE4 : 5351 4C43 4120 2020 8800 0000 0BFE FFFF SQLCA ........
0xBFFF6AF4 : 0000 2020 2020 2020 2020 2020 2020 2020 ..
0xBFFF6B04 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B14 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B24 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B34 : 2020 2020 2020 2020 5351 4C41 4341 4C4C SQLACALL
0xBFFF6B44 : 8C00 0080 8C00 0000 0000 0000 0000 0000 ................
0xBFFF6B54 : 0000 0000 0000 0000 2020 2020 2020 2020 ........
0xBFFF6B64 : 2020 2032 3435 3031 24501
Also throwing deadlock error...increasing deadlock counter when i run reorgchk command....
Please look in my issue.
I am running below command...
db2 reorgchk update statistics on table all
but throwing error
SQL2310N The utility could not generate statistics. Error "-911" was
returned.
when i look in db2diag file ..there are also some errors and severe ..mentioned below...
2008-07-24-12.11.15.169185+330 I59560472G626 LEVEL: Severe
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -911 sqlerrml: 1
sqlerrmc: 2
sqlerrp : SQLRC029
sqlerrd : (1) 0x80100002 (2) 0x00000002 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate: 40001
2008-07-24-12.11.15.251551+330 I59561099G1055 LEVEL: Severe
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
MESSAGE : DB2RA
DATA #1 : Hexdump, 176 bytes
0xB77BDDF0 : 5351 4C44 4232 5241 B000 0000 0601 0200 SQLDB2RA........
0xB77BDE00 : 0D00 0D00 8800 0000 0900 0080 E4D3 1608 ................
0xB77BDE10 : 0000 0000 0000 0000 0000 0000 0B00 0000 ................
0xB77BDE20 : 0400 0040 D46A FFBF 0000 0000 0000 0000 ...@.j..........
0xB77BDE30 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE40 : 0800 0000 0100 0040 786A FFBF 0000 0000 .......@xj......
0xB77BDE50 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE60 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xB77BDE70 : 0200 0000 0100 0040 E46A FFBF 0900 0000 .......@.j......
0xB77BDE80 : 0100 0040 F468 FFBF 0200 0000 0800 0040 ...@.h.........@
0xB77BDE90 : 286B FFBF 0000 0000 0400 0040 0000 0000 (k.........@....
2008-07-24-12.11.15.275235+330 I59564045G944 LEVEL: Error
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
FUNCTION: DB2 UDB, oper system services, sqlofica, probe:10
DATA #1 : Hexdump, 136 bytes
0xBFFF6AE4 : 5351 4C43 4120 2020 8800 0000 0BFE FFFF SQLCA ........
0xBFFF6AF4 : 0000 2020 2020 2020 2020 2020 2020 2020 ..
0xBFFF6B04 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B14 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B24 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B34 : 2020 2020 2020 2020 5351 4C41 4341 4C4C SQLACALL
0xBFFF6B44 : 8C00 0080 8C00 0000 0000 0000 0000 0000 ................
0xBFFF6B54 : 0000 0000 0000 0000 2020 2020 2020 2020 ........
0xBFFF6B64 : 2020 2032 3435 3031 24501
2008-07-24-12.11.15.275378+330 I59564990G944 LEVEL: Error
PID : 31841 TID : 3086919360 PROC : db2bp
INSTANCE: idsldap NODE : 000
APPID : *LOCAL.idsldap.080724063522
FUNCTION: DB2 UDB, oper system services, sqlofica, probe:10
DATA #1 : Hexdump, 136 bytes
0xBFFF6AE4 : 5351 4C43 4120 2020 8800 0000 0BFE FFFF SQLCA ........
0xBFFF6AF4 : 0000 2020 2020 2020 2020 2020 2020 2020 ..
0xBFFF6B04 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B14 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B24 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFFF6B34 : 2020 2020 2020 2020 5351 4C41 4341 4C4C SQLACALL
0xBFFF6B44 : 8C00 0080 8C00 0000 0000 0000 0000 0000 ................
0xBFFF6B54 : 0000 0000 0000 0000 2020 2020 2020 2020 ........
0xBFFF6B64 : 2020 2032 3435 3031 24501
Also throwing deadlock error...increasing deadlock counter when i run reorgchk command....
Why this type issue is coming now ..few days back it was working fine.
Re: reorgchk issue.....with deadlock
Posted by perallis at July 28. 2008Pawan, take a look below, if this is your case, please let us know:
- ONLINE INDEX REORG
In SMS mode, online index reorganization and online backup are
incompatible in the same way that online index create and online backup
are incompatible.
In DMS mode, online index reorganization and
online backup can run concurrently in most cases. The only case where
they are not compatible is the same case that is described above for
online index create and online backup.
In addition, online index
reorganization quiesces the table before the switch phase and gets a Z
lock, which prevents an online backup.
Re: reorgchk issue.....with deadlock
Posted by Pawan at July 28. 2008I am not doing reorg on tables and indexes....
I am firing the command
db2 reorgchk update statistics on table all
it does firstly runstat and update statistics of the database....and tells also which tables neet to be reorg.....
Powered by
Ploneboard