WEB开发网
开发学院数据库DB2 db2诊断系列之---定位锁等待问题 阅读

db2诊断系列之---定位锁等待问题

 2012-07-04 17:53:53 来源:WEB开发网   
核心提示:Warning: The database state is not consistent.Warning: Reorg rows MAY be due to the inconsistent state of the database.DB2DART Processing completed with warning


Warning: The database state is not consistent.


Warning: Reorg rows MAY be due to the inconsistent state of the database.
DB2DART Processing completed with warning(s)!
Complete DB2DART report found in:
/home/db2inst1/sqllib/db2dump/DART0000/EOS.RPT


其中tsi为表空间id(2),oi为表id(1560),ps为page number(0x0266807),需要转换为十进制,在结尾必须加p,np代表你要获取的页数,v为是否详细输出


现在我们来看看EOS.RPT


______________________________________________________________________________


_______ DART _______


D a t a b a s e A n a l y s i s a n d R e p o r t i n g T o o l


IBM DB2 6000
______________________________________________________________________________


DART (V8.1.0) Report:
2007-11-24-20.59.51.355893


Database Name: EOS
Report name: EOS.RPT
Old report back-up: EOS.BAK
Database Subdirectory: /opt/db2/db2inst1/NODE0000/SQL00001
Operational Mode: Database Inspection Only (INSPECT)


______________________________________________________________________________
------------------------------------------------------------------------------


Action option: DD
Table-object-ID: 1560; Tablespace-ID: 2; First-page: 157312p; Number-pages: 1; Verbose: y


Warning: The database state is not consistent.


Warning: Reorg rows MAY be due to the inconsistent state of the database.
Connecting to Buffer Pool Services...


Table object report phase start.
Dump format is verbose.


______________________________________


Page 0 of object 1560 from table space 2.


BPS Page Header:


Page Data Offset = 48
Page Data Length = 4048
Page LSN = 0000 AE97 AE41
Object Page Number = 0
Pool Page Number = 157312
Object ID = 1560
Object Type = Data Object


Data Page Header:


Slot Count = 8
Total Free Space = 2784
Total Reserve Space = 0
Youngest Reserve Space = n/a
Youngest TID = n/a
Free Space Offset = 2799
Maximum Record Size = 23


Data Records:


Slot 0:


Offset Location = 3996 (xF9C)
Record Length = 32 (x20)


Record Type = Data Object Header Control Record


Page count = 1
Object Creation LSN = 0000 AE97 800C
Object State = x0000
UDI Since Runstats = 0
DART Field = x00000000


Slot 1:


Offset Location = 2992 (xBB0)
Record Length = 1004 (x3EC)


Record Type = Free Space Control Record


Free space entries:
0: 2884 (x0B44), 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC)
4: 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC)
8: 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC)
省略。。。
492: 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC)
496: 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC), 4028 (x0FBC)

上一页  1 2 3 4  下一页

Tags:db 诊断 系列

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接