非IMU模式下一條update語句產生REDO RECORD條數的探究
注意:每個實驗前最好做下日誌切換,更詳細方法dump redo 檔案的方法及本篇DUMP的TRACE檔案見下載附件:本篇TRACE等附件下載,或者另一篇部落格 :非IMU模式下DML語句產生的REDO日誌內容格式解讀
實驗1:
BYS@ bys3>select * from dept;DEPTNO DNAME LOC
---------- -------------- -------------
10 database NEW YORK
20 database DALLAS
40 OPERATIONS BOSTON
11 database bj
22 test sh
update dept set dname='oracle' where deptno<40;
4 rows updated.
這個更新語句會產生四條REDO RECORD,因為對四條記錄改為oracle
#############################
實驗2:
BYS@ bys3>select * from dept;DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
40 OPERATIONS BOSTON
11 database bj
22 test sh
BYS@ bys3>update dept set dname='database' where deptno<22;
3 rows updated.
這個更新語句中,已經有一條是database,這次更新了三條語句,但是隻有兩條REDO RECORD,
有一個REDO RECORD的CHANGE #1不一樣:這個REDO RECORD只有CHANGE #1,CHANGE #2,CHANGE #1中就把這兩個值放入UNDO,詳見後面日誌。
##########################################
實驗3:
BYS@ bys3>select * from dept;DEPTNO DNAME LOC
---------- -------------- -------------
10 oracle NEW YORK
20 oracle DALLAS
40 OPERATIONS BOSTON
11 oracle bj
22 oracle sh
BYS@ bys3>set time on
09:47:59 BYS@ bys3>update dept set dname='oracle' where deptno=10;
1 row updated.
將一行中oracle--UPDATE為oracle,一條REDO RECORD
####################
實驗4:
10:08:32 BYS@ bys3>select * from dept;DEPTNO DNAME LOC
---------- -------------- -------------
10 oracle NEW YORK
20 oracle DALLAS
40 OPERATIONS BOSTON
11 oracle bj
22 oracle sh
10:08:57 BYS@ bys3>update dept set dname='oracle' where deptno<40;
4 rows updated.
更新了四行,這四行原值oracle,更新為oracle,只有一條一條REDO RECORD
##################
附dump 每次操作的redo日誌
實驗1的:
REDO RECORD - Thread:1 RBA: 0x00013b.00000029.0010 LEN: 0x01e4 VLD: 0x05
SCN: 0x0000.00704cb2 SUBSCN: 1 01/06/2014 22:04:42
(LWN RBA: 0x00013b.00000029.0010 LEN: 0003 NST: 0001 SCN: 0x0000.00704cb1)
CHANGE #1 TYP:0 CLS:33 AFN:3 DBA:0x00c00100 OBJ:4294967295 SCN:0x0000.00704c81 SEQ:1 OP:5.2 ENC:0 RBL:0
ktudh redo: slt: 0x0015 sqn: 0x00000e9f flg: 0x0012 siz: 164 fbi: 0
uba: 0x00c02e0e.0247.2a pxid: 0x0000.000.00000000
CHANGE #2 TYP:0 CLS:34 AFN:3 DBA:0x00c02e0e OBJ:4294967295 SCN:0x0000.00704c80 SEQ:3 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 164 spc: 3160 flg: 0x0012 seq: 0x0247 rec: 0x2a
xid: 0x0009.015.00000e9f
ktubl redo: slt: 21 rci: 0 opc: 11.1 [objn: 22327 objd: 22327 tsn: 4]
Undo type: Regular undo Begin trans Last buffer split: No
Temp Object: No
Tablespace Undo: No
0x00000000 prev ctl uba: 0x00c02e0e.0247.27
prev ctl max cmt scn: 0x0000.007049b5 prev tx cmt scn: 0x0000.007049e3
txn start scn: 0xffff.ffffffff logon user: 32 prev brb: 12591203 prev bcl: 0 BuExt idx: 0 flg2: 0
KDO undo record:
KTB Redo
op: 0x04 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: L itl: xid: 0x0001.00f.00000e9c uba: 0x00c01cbf.0250.0f
flg: C--- lkc: 0 scn: 0x0000.00702fe2
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 2
col 1: [ 8] 64 61 74 61 62 61 73 65
CHANGE #3 TYP:2 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00703bc4 SEQ:1 OP:11.5 ENC:0 RBL:0
KTB Redo
op: 0x11 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: F xid: 0x0009.015.00000e9f uba: 0x00c02e0e.0247.2a
Block cleanout record, scn: 0x0000.00704cb2 ver: 0x01 opt: 0x02, entries follow...
itli: 2 flg: 2 scn: 0x0000.00703bc4
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 1 ckix: 0
ncol: 3 nnew: 1 size: -2
col 1: [ 6] 6f 72 61 63 6c 65
##############################################################
REDO RECORD - Thread:1 RBA: 0x00013b.0000002a.0010 LEN: 0x0108 VLD: 0x01
SCN: 0x0000.00704cb2 SUBSCN: 1 01/06/2014 22:04:42
CHANGE #1 TYP:0 CLS:34 AFN:3 DBA:0x00c02e0e OBJ:4294967295 SCN:0x0000.00704cb2 SEQ:1 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 96 spc: 2994 flg: 0x0022 seq: 0x0247 rec: 0x2b
xid: 0x0009.015.00000e9f
ktubu redo: slt: 21 rci: 42 opc: 11.1 objn: 22327 objd: 22327 tsn: 4
Undo type: Regular undo Undo type: Last buffer split: No
Tablespace Undo: No
0x00000000
KDO undo record:
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2a
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 2
col 1: [ 8] 64 61 74 61 62 61 73 65
CHANGE #2 TYP:0 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00704cb2 SEQ:1 OP:11.5 ENC:0 RBL:0
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2b
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 1 ckix: 0
ncol: 3 nnew: 1 size: -2
col 1: [ 6] 6f 72 61 63 6c 65
###################################################
REDO RECORD - Thread:1 RBA: 0x00013b.0000002a.0118 LEN: 0x0108 VLD: 0x01
SCN: 0x0000.00704cb2 SUBSCN: 1 01/06/2014 22:04:42
CHANGE #1 TYP:0 CLS:34 AFN:3 DBA:0x00c02e0e OBJ:4294967295 SCN:0x0000.00704cb2 SEQ:2 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 96 spc: 2896 flg: 0x0022 seq: 0x0247 rec: 0x2c
xid: 0x0009.015.00000e9f
ktubu redo: slt: 21 rci: 43 opc: 11.1 objn: 22327 objd: 22327 tsn: 4
Undo type: Regular undo Undo type: Last buffer split: No
Tablespace Undo: No
0x00000000
KDO undo record:
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2b
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 2
col 1: [ 8] 64 61 74 61 62 61 73 65
CHANGE #2 TYP:0 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00704cb2 SEQ:2 OP:11.5 ENC:0 RBL:0
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2c
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 1 ckix: 0
ncol: 3 nnew: 1 size: -2
col 1: [ 6] 6f 72 61 63 6c 65
###################################################################
REDO RECORD - Thread:1 RBA: 0x00013b.0000002b.0030 LEN: 0x0104 VLD: 0x01
SCN: 0x0000.00704cb2 SUBSCN: 1 01/06/2014 22:04:42
CHANGE #1 TYP:0 CLS:34 AFN:3 DBA:0x00c02e0e OBJ:4294967295 SCN:0x0000.00704cb2 SEQ:3 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 92 spc: 2798 flg: 0x0022 seq: 0x0247 rec: 0x2d
xid: 0x0009.015.00000e9f
ktubu redo: slt: 21 rci: 44 opc: 11.1 objn: 22327 objd: 22327 tsn: 4
Undo type: Regular undo Undo type: Last buffer split: No
Tablespace Undo: No
0x00000000
KDO undo record:
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2c
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 6(0x6) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: -2
col 1: [ 4] 74 65 73 74
CHANGE #2 TYP:0 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00704cb2 SEQ:3 OP:11.5 ENC:0 RBL:0
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c02e0e.0247.2d
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 1 ispac: 0 maxfr: 4858
tabn: 0 slot: 6(0x6) flag: 0x2c lock: 1 ckix: 0
ncol: 3 nnew: 1 size: 2
col 1: [ 6] 6f 72 61 63 6c 65
################################################提交的日誌條目:
REDO RECORD - Thread:1 RBA: 0x00013b.0000002c.0010 LEN: 0x008c VLD: 0x05
SCN: 0x0000.00704cb4 SUBSCN: 1 01/06/2014 22:04:43
(LWN RBA: 0x00013b.0000002c.0010 LEN: 0001 NST: 0001 SCN: 0x0000.00704cb3)
CHANGE #1 TYP:0 CLS:33 AFN:3 DBA:0x00c00100 OBJ:4294967295 SCN:0x0000.00704cb2 SEQ:1 OP:5.4 ENC:0 RBL:0
ktucm redo: slt: 0x0015 sqn: 0x00000e9f srt: 0 sta: 9 flg: 0x2 ktucf redo: uba: 0x00c02e0e.0247.2d ext: 8 spc: 2704 fbi: 0
END OF REDO DUMP
實驗2的:
REDO RECORD - Thread:1 RBA: 0x00013a.00000002.0010 LEN: 0x01c0 VLD: 0x05
SCN: 0x0000.00703bc1 SUBSCN: 1 01/06/2014 21:56:03
(LWN RBA: 0x00013a.00000002.0010 LEN: 0002 NST: 0001 SCN: 0x0000.00703bc0)
CHANGE #1 TYP:0 CLS:23 AFN:3 DBA:0x00c000b0 OBJ:4294967295 SCN:0x0000.00703b80 SEQ:1 OP:5.2 ENC:0 RBL:0
ktudh redo: slt: 0x0004 sqn: 0x00000ec7 flg: 0x0012 siz: 168 fbi: 0
uba: 0x00c01ddb.0283.21 pxid: 0x0000.000.00000000
CHANGE #2 TYP:0 CLS:24 AFN:3 DBA:0x00c01ddb OBJ:4294967295 SCN:0x0000.00703b7f SEQ:9 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 168 spc: 3658 flg: 0x0012 seq: 0x0283 rec: 0x21
xid: 0x0004.004.00000ec7
ktubl redo: slt: 4 rci: 0 opc: 11.1 [objn: 22327 objd: 22327 tsn: 4]
Undo type: Regular undo Begin trans Last buffer split: No
Temp Object: No
Tablespace Undo: No
0x00000000 prev ctl uba: 0x00c01ddb.0283.01
prev ctl max cmt scn: 0x0000.007034c7 prev tx cmt scn: 0x0000.007034f1
txn start scn: 0xffff.ffffffff logon user: 32 prev brb: 12590550 prev bcl: 0 BuExt idx: 0 flg2: 0
KDO undo record:
KTB Redo
op: 0x04 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: L itl: xid: 0x0003.013.00000eac uba: 0x00c01ac7.0250.06
flg: C--- lkc: 0 scn: 0x0000.00702d7a
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 2 ---ACCOUNTING 比database多兩個位元組
col 1: [10] 41 43 43 4f 55 4e 54 49 4e 47 ---對應的是將第一行第二列的值放進UNDO---ACCOUNTING
CHANGE #3 TYP:0 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00703bb3 SEQ:3 OP:11.5 ENC:0 RBL:0
KTB Redo
op: 0x01 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: F xid: 0x0004.004.00000ec7 uba: 0x00c01ddb.0283.21
KDO Op code: URP row dependencies Disabled
xtype: XA flags: 0x00000000 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: -2
col 1: [ 8] 64 61 74 61 62 61 73 65
REDO RECORD - Thread:1 RBA: 0x00013a.00000002.01d0 LEN: 0x0190 VLD: 0x01 --這個REDO RECORD只有CHANGE #1,CHANGE
#2
SCN: 0x0000.00703bc1 SUBSCN: 1 01/06/2014 21:56:03
CHANGE #1 TYP:0 CLS:24 AFN:3 DBA:0x00c01ddb OBJ:4294967295 SCN:0x0000.00703bc1 SEQ:1 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 164 spc: 3488 flg: 0x0022 seq: 0x0283 rec: 0x22
xid: 0x0004.004.00000ec7
ktubu redo: slt: 4 rci: 33 opc: 11.1 objn: 22327 objd: 22327 tsn: 4
Undo type: Regular undo Undo type: Last buffer split: No
Tablespace Undo: No
0x00000000
KDO undo record:
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c01ddb.0283.21
Array Update of 2 rows:
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 8] 52 45 53 45 41 52 43 48 ---DUMP('RESEARCH',16)
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 8] 64 61 74 61 62 61 73 65 --DUMP('DATABASE',16)
CHANGE #2 TYP:0 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00703bc1 SEQ:1 OP:11.19 ENC:0 RBL:0
KTB Redo
op: 0x02 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: C uba: 0x00c01ddb.0283.22
Array Update of 2 rows:
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 8] 64 61 74 61 62 61 73 65
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 8] 64 61 74 61 62 61 73 65
REDO RECORD - Thread:1 RBA: 0x00013a.00000004.0010 LEN: 0x008c VLD: 0x05 --這個是提交語句的。
SCN: 0x0000.00703bc4 SUBSCN: 1 01/06/2014 21:56:07
(LWN RBA: 0x00013a.00000004.0010 LEN: 0001 NST: 0001 SCN: 0x0000.00703bc3)
CHANGE #1 TYP:0 CLS:23 AFN:3 DBA:0x00c000b0 OBJ:4294967295 SCN:0x0000.00703bc1 SEQ:1 OP:5.4 ENC:0 RBL:0
ktucm redo: slt: 0x0004 sqn: 0x00000ec7 srt: 0 sta: 9 flg: 0x2 ktucf redo: uba: 0x00c01ddb.0283.22 ext: 16 spc: 3322 fbi: 0
實驗3的日誌:
REDO RECORD - Thread:1 RBA: 0x00013d.00000002.0010 LEN: 0x0214 VLD: 0x05
SCN: 0x0000.0070cae5 SUBSCN: 1 01/07/2014 09:48:10
(LWN RBA: 0x00013d.00000002.0010 LEN: 0002 NST: 0001 SCN: 0x0000.0070cae4)
CHANGE #1 TYP:0 CLS:23 AFN:3 DBA:0x00c000b0 OBJ:4294967295 SCN:0x0000.0070caaa SEQ:1 OP:5.2 ENC:0 RBL:0
ktudh redo: slt: 0x000d sqn: 0x00000ee5 flg: 0x0012 siz: 188 fbi: 0
uba: 0x00c040fa.0286.12 pxid: 0x0000.000.00000000
CHANGE #2 TYP:0 CLS:24 AFN:3 DBA:0x00c040fa OBJ:4294967295 SCN:0x0000.0070caa9 SEQ:3 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 188 spc: 5884 flg: 0x0012 seq: 0x0286 rec: 0x12
xid: 0x0004.00d.00000ee5
ktubl redo: slt: 13 rci: 0 opc: 11.1 [objn: 22327 objd: 22327 tsn: 4]
Undo type: Regular undo Begin trans Last buffer split: No
Temp Object: No
Tablespace Undo: No
0x00000000 prev ctl uba: 0x00c040fa.0286.0f
prev ctl max cmt scn: 0x0000.0070c50b prev tx cmt scn: 0x0000.0070c522
txn start scn: 0xffff.ffffffff logon user: 32 prev brb: 12599542 prev bcl: 0 BuExt idx: 0 flg2: 0
KDO undo record:
KTB Redo
op: 0x04 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: L itl: xid: 0x0004.004.00000ec7 uba: 0x00c01ddb.0283.22
flg: C--- lkc: 0 scn: 0x0000.00703bc4
Array Update of 1 rows:
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
CHANGE #3 TYP:2 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.00704cb4 SEQ:1 OP:11.19 ENC:0 RBL:0
KTB Redo
op: 0x11 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: F xid: 0x0004.00d.00000ee5 uba: 0x00c040fa.0286.12
Block cleanout record, scn: 0x0000.0070cae5 ver: 0x01 opt: 0x02, entries follow...
itli: 1 flg: 2 scn: 0x0000.00704cb4
Array Update of 1 rows:
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
REDO RECORD - Thread:1 RBA: 0x00013d.00000004.0010 LEN: 0x008c VLD: 0x05
SCN: 0x0000.0070cae7 SUBSCN: 1 01/07/2014 09:48:11
(LWN RBA: 0x00013d.00000004.0010 LEN: 0001 NST: 0001 SCN: 0x0000.0070cae6)
CHANGE #1 TYP:0 CLS:23 AFN:3 DBA:0x00c000b0 OBJ:4294967295 SCN:0x0000.0070cae5 SEQ:1 OP:5.4 ENC:0 RBL:0
ktucm redo: slt: 0x000d sqn: 0x00000ee5 srt: 0 sta: 9 flg: 0x2 ktucf redo: uba: 0x00c040fa.0286.12 ext: 19 spc: 5694 fbi: 0
實驗4的:
REDO RECORD - Thread:1 RBA: 0x00013f.000000de.0010 LEN: 0x0304 VLD: 0x05
SCN: 0x0000.0070cfe9 SUBSCN: 1 01/07/2014 10:09:20
(LWN RBA: 0x00013f.000000de.0010 LEN: 0002 NST: 0001 SCN: 0x0000.0070cfe8)
CHANGE #1 TYP:0 CLS:33 AFN:3 DBA:0x00c00100 OBJ:4294967295 SCN:0x0000.0070cfbf SEQ:1 OP:5.2 ENC:0 RBL:0
ktudh redo: slt: 0x0004 sqn: 0x00000ebc flg: 0x0012 siz: 308 fbi: 0
uba: 0x00c037d5.0249.08 pxid: 0x0000.000.00000000
CHANGE #2 TYP:0 CLS:34 AFN:3 DBA:0x00c037d5 OBJ:4294967295 SCN:0x0000.0070cfbe SEQ:3 OP:5.1 ENC:0 RBL:0
ktudb redo: siz: 308 spc: 7252 flg: 0x0012 seq: 0x0249 rec: 0x08
xid: 0x0009.004.00000ebc
ktubl redo: slt: 4 rci: 0 opc: 11.1 [objn: 22327 objd: 22327 tsn: 4]
Undo type: Regular undo Begin trans Last buffer split: No
Temp Object: No
Tablespace Undo: No
0x00000000 prev ctl uba: 0x00c037d5.0249.05
prev ctl max cmt scn: 0x0000.0070cc57 prev tx cmt scn: 0x0000.0070cc81
txn start scn: 0xffff.ffffffff logon user: 32 prev brb: 12597202 prev bcl: 0 BuExt idx: 0 flg2: 0
KDO undo record:
KTB Redo
op: 0x04 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: L itl: xid: 0x0004.00d.00000ee5 uba: 0x00c040fa.0286.12
flg: C--- lkc: 0 scn: 0x0000.0070cae7
Array Update of 4 rows:
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 6(0x6) flag: 0x2c lock: 0 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
CHANGE #3 TYP:2 CLS:1 AFN:4 DBA:0x010000fd OBJ:22327 SCN:0x0000.0070cb7f SEQ:1 OP:11.19 ENC:0 RBL:0
KTB Redo
op: 0x11 ver: 0x01
compat bit: 4 (post-11) padding: 1
op: F xid: 0x0009.004.00000ebc uba: 0x00c037d5.0249.08
Block cleanout record, scn: 0x0000.0070cfe9 ver: 0x01 opt: 0x02, entries follow...
itli: 1 flg: 2 scn: 0x0000.0070cb7f
Array Update of 4 rows:
tabn: 0 slot: 2(0x2) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 3(0x3) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 5(0x5) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
tabn: 0 slot: 6(0x6) flag: 0x2c lock: 2 ckix: 0
ncol: 3 nnew: 1 size: 0
KDO Op code: 21 row dependencies Disabled
xtype: XAxtype KDO_KDOM2 flags: 0x00000080 bdba: 0x010000fd hdba: 0x010000fa
itli: 2 ispac: 0 maxfr: 4858
vect = 3
col 1: [ 6] 6f 72 61 63 6c 65
REDO RECORD - Thread:1 RBA: 0x00013f.000000df.0124 LEN: 0x0060 VLD: 0x01
SCN: 0x0000.0070cfea SUBSCN: 1 01/07/2014 10:09:20
CHANGE #1 TYP:0 CLS:33 AFN:3 DBA:0x00c00100 OBJ:4294967295 SCN:0x0000.0070cfe9 SEQ:1 OP:5.4 ENC:0 RBL:0
ktucm redo: slt: 0x0004 sqn: 0x00000ebc srt: 0 sta: 9 flg: 0x2 ktucf redo: uba: 0x00c037d5.0249.08 ext: 10 spc: 6942 fbi: 0
相關文章
- IMU模式下DML語句所產生的REDO RECORD格式解讀模式
- 非IMU模式下DML語句產生的REDO日誌內容格式解讀模式
- 一條update語句的優化探索優化
- 【Mysql】兩條insert 語句產生的死鎖MySql
- 一條update SQL語句是如何執行的SQL
- update操作會產生幾條mlog$日誌?
- 一條SQL語句的執行計劃變化探究SQL
- 條件語句
- 每一千行UPDATE語句後插入一條COMMIT語句的編輯方法MIT
- 深入解析Oracle IMU模式下的REDO格式Oracle模式
- GO 條件語句Go
- javaScript條件語句JavaScript
- oracle中的條件語句Oracle
- 轉roger大師_計算sql語句產生的redo和undo大小SQL
- Go:條件控制語句Go
- if條件語句sed命令
- 04.條件語句
- 根據某個查詢條件的前50條資料來決定UPDATE語句的更新範圍
- 線上非rman備份產生和普通操作產生的redo大小比較
- 【指令碼編輯】每一千行UPDATE語句後插入一條COMMIT語句的編輯方法指令碼MIT
- 用一條mysql語句插入多條資料MySql
- 一條SQL語句的書寫SQL
- 一條很 巧妙的 SQL 語句SQL
- 一條sql語句的優化SQL優化
- 一條SQL語句的旅行之路SQL
- 「譯」寫好JavaScript條件語句的5條守則JavaScript
- Java 數學運算與條件語句全解析Java
- 生產資料update沒加where條件(從執行到恢復)
- Swift 條件語句講解Swift
- PL/SQL 條件控制語句SQL
- 學習Rust 條件語句Rust
- Python if else條件語句Python
- 7、條件結構語句
- 用record型別和table型別儲存查詢語句返回的多條記錄 的例子型別
- 一條update語句到底加了多少鎖?帶你深入理解底層原理
- 一條更新語句的執行流程
- php中條件語句的使用整理PHP
- recover database的四條語句區別 .Database