从Undo, Redo, DataFile看Oracle中的事务过程
2009-06-12 11:51:00 来源:WEB开发网SQL> alter system dump datafile 2 block 1375;
System altered.
这里我们可以看到数据的前镜像值,
UNDO BLK:
xid: 0x000a.01b.00005147 seq: 0x5c1 cnt: 0x2d irb: 0x2d icl: 0x0 flg: 0x0000
Rec Offset Rec Offset Rec Offset Rec Offset Rec Offset
---------------------------------------------------------------------------
0x01 0x1fb4 0x02 0x1f4c 0x03 0x1efc 0x04 0x1ec8 0x05 0x1e78
0x06 0x1e28 0x07 0x1df4 0x08 0x1da4 0x09 0x1d54 0x0a 0x1d20
0x0b 0x1cd0 0x0c 0x1c80 0x0d 0x1c4c 0x0e 0x1bfc 0x0f 0x1bac
0x10 0x1b78 0x11 0x1b28 0x12 0x1ad8 0x13 0x1aa4 0x14 0x1a54
0x15 0x1a04 0x16 0x19d0 0x17 0x1980 0x18 0x1930 0x19 0x18fc
0x1a 0x18ac 0x1b 0x185c 0x1c 0x1828 0x1d 0x17d8 0x1e 0x1788
0x1f 0x16d4 0x20 0x1648 0x21 0x15bc 0x22 0x1518 0x23 0x14c8
0x24 0x1460 0x25 0x13f8 0x26 0x1390 0x27 0x1328 0x28 0x12c0
0x29 0x1258 0x2a 0x11f0 0x2b 0x1188 0x2c 0x1120 0x2d 0x10b8
更多精彩
赞助商链接