SlideShare a Scribd company logo
Ver.2
(2016.07.19)
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Scenario
Buffer Cache
XCURRENT
col 1: [ 1] 41 (A)
BH
(0x657d8238)
B
A
C
D
E
F
G
H
I
Update; Commit
Update;Commit
BCDEFGHI
When update a value ‘A’ with values ‘B’ to ‘I’ consecutively,
How are CU blocks and CR blocks allocated inside the Buffer Cache?
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Expected outcome
Buffer Cache
CURRENT
BLOCK
(XCUR)
Update
S1
Consistent Read
Block
(CR 1)&
UNDO
Update
S2
Consistent Read
Block
(CR 2)&
UNDO
Update
S3
Consistent Read
Block
(CR 3)&
UNDO
Update
S4
Consistent Read
Block
(CR 4)&
UNDO
Update
S5
Consistent Read
Block
(CR 5)&
UNDO
Update
S6
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
2013, Oracle 10g Performance: chapter 06 buffer cache 25,26 page, Kyle Hailey
Cited from http://www.slideshare.net/khailey/oracle-10g-performance-chapter-06-buffer-cache
It's so difficult to understand
only through the book.
I'd like to check internal
actual situation of oracle
with my own eyes
“Max length in Cache Buffer”mechanism as explained in Kyle Hailey's presentation
1. UPDATE T1 SET C2= 'B' ; COMMIT ;
2. UPDATE T1 SET C2= 'C' ; COMMIT ;
3. UPDATE T1 SET C2= 'D' ; COMMIT ;
. . . . . .
9. UPDATE T1 SET C2= 'G' ; COMMIT ;
. . . . . . ?
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Inside of Oracle via ODI Analyzer When _db_block_max_cr_dba = 6
Buffer Cache
CR
col 1: [ 1] 41
(A)
BH (0x657d8238)
CR
col 1: [ 1] 42
(B)
BH (0x657d8100)
CR
col 1: [ 1] 43
(C)
BH (0x653fab88)
CR
col 1: [ 1] 44
(D)
BH (0x653fa7e0)
CR
col 1: [ 1] 45 (E)
BH (0x653fa438)
CR
col 1: [ 1] 46 (F)
BH (0x653fa090)
New CU
block
New CU block
New CU
Block
XCURRENT
XCURRENTXCURRENT
XCURRENT
XCURRENT
New CU
Block
XCURRENT
col 1: [ 1] 49
(I)
XCURRENT
block
1
block
2
block
3
block
4
block
5
block
6
block
1
block
2
block
3
New CU
block
XCURRENT
col 1: [ 1] 47
(G)
CR
col 1: [ 1] 47
(G)
XCURRENT
col 1: [ 1] 48
(H)
CR
col 1: [ 1] 48
(H)
CR Block Reuse
CR Block Reuse
CR Block Reuse
Oracle init parameter
When _db_block_max_cr_dba = 6
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
1. UPDATE T1 SET C2= ' B ' ; COMMIT ;
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
2
“A”
“B”
“A”
UPDATE T1
SET c2 = ‘B’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
2. UPDATE SYSTEM.T1 SET C2= ' C ' ; COMMIT ;
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
“A”
UPDATE T1
SET c2 = ‘C’
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
3. UPDATE SYSTEM.T1 SET C2= ' D ' ; COMMIT ;
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
UPDATE T1
SET c2 = ‘D’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
4. UPDATE SYSTEM.T1 SET C2= ' E ' ; COMMIT ;
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba:
0x653b6000
xid: 0x002c.001.000000c4 seq: 0x69
* Rec #0x11 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 44
“D”
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 ---- 1 fsc 0x0000.00000000
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 45
5
“E”
UPDATE T1
SET c2 = ‘E’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
5. UPDATE SYSTEM.T1 SET C2= ' F ' ; COMMIT ;
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba:
0x653b6000
xid: 0x002c.001.000000c4 seq: 0x69
* Rec #0x11 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 44
“D”
BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba:
0x653b0000
xid: 0x002b.001.000000c6 seq: 0x62
* Rec #0x2 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 45
“E”
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 45
5
“E”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 46
6
“F”
UPDATE T1
SET c2 = ‘F’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
“A”
6. UPDATE SYSTEM.T1 SET C2= ' G ' ; COMMIT ; Reuse BH ‘8283’
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 47
1
“G”
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba:
0x653b6000
xid: 0x002c.001.000000c4 seq: 0x69
* Rec #0x11 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 44
“D”
BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba:
0x653b0000
xid: 0x002b.001.000000c6 seq: 0x62
* Rec #0x2 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 45
“E”
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba:
0x653ac000
xid: 0x002a.001.000000c6 seq: 0x62
* Rec #0x3 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 46
“F”
BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 45
5
“E”
BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 46
6
“F”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
UPDATE T1
SET c2 = ‘G’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
“A”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
7. UPDATE SYSTEM.T1 SET C2= ' H ' ; COMMIT ; Reuse BH ‘8100’
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
sst: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d
0x02 0x0029.001.00000107 0x018000e2.00bc.04 --U- 1 fsc 0x0000.0021a130
0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 48
2
“H”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba:
0x653b6000
xid: 0x002c.001.000000c4 seq: 0x69
* Rec #0x11 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 44
“D”
BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba:
0x653b0000
xid: 0x002b.001.000000c6 seq: 0x62
* Rec #0x2 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 45
“E”
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba:
0x653ac000
xid: 0x002a.001.000000c6 seq: 0x62
* Rec #0x3 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 46
“F”
BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 45
5
“E”
BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 46
6
“F”
BH (0x653f9940) file#: 6 rdba: 0x018000e2 (6/226) class: 98 ba:
0x653a8000
xid: 0x0029.001.00000107 seq: 0xbc
* Rec #0x4 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 47
“G”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 47
1
“G”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
UPDATE T1
SET c2 = ‘H’
Buffer Cache
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Undo Segment
Data Block
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
1
“A”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000
0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 42
2
“B”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 43
3
“C”
8. UPDATE SYSTEM.T1 SET C2= ' I ' ; COMMIT ; Reuse BH‘ab88’
Rows
block_row_dump:
tab 0, row 0, @0x1f70
tl: 16 fb: --H-FL-- lb: 0x0 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 41
“A”
BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba:
0x65434000
xid: 0x0025.000.00000138 seq: 0x9b
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 41
“A”
BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba:
0x653c2000
xid: 0x0023.000.00000132 seq: 0xa2
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 42
“B”
BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba:
0x653bc000
xid: 0x0001.000.000009ef seq: 0x352
* Rec #0x1 slt: 0x00 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 43
“C”
BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d
0x02 0x0029.001.00000107 0x018000e2.00bc.04 C--- 0 scn 0x0000.0021a130
0x03 0x0028.004.000000db 0x018000d3.00b2.08 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 49
3
“I”
BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba:
0x653b6000
xid: 0x002c.001.000000c4 seq: 0x69
* Rec #0x11 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 44
“D”
BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba:
0x653b0000
xid: 0x002b.001.000000c6 seq: 0x62
* Rec #0x2 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 45
“E”
BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000
0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 44
4
“D”
BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba:
0x653ac000
xid: 0x002a.001.000000c6 seq: 0x62
* Rec #0x3 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 46
“F”
BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127
0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 45
5
“E”
BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000
tl: 16 fb: --H-FL-- lb: 0x3 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 46
6
“F”
BH (0x653f9940) file#: 6 rdba: 0x018000e2 (6/226) class: 98 ba:
0x653a8000
xid: 0x0029.001.00000107 seq: 0xbc
* Rec #0x4 slt: 0x01 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 47
“G”
BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000
st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d
0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127
0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a
tl: 16 fb: --H-FL-- lb: 0x1 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 47
1
“G”
BH (0x653f96d0) file#: 6 rdba: 0x018000d3 (6/211) class: 96 ba:
0x653a4000
xid: 0x0028.004.000000db seq: 0xb2
* Rec #0x8 slt: 0x04 objn: 69880(0x000110f8)
* Layer: 11 (Row) opc: 1 rci 0x00
col 1: [ 1] 48
“H”
BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000
sst: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
Itl Xid Uba Flag Lck Scn/Fsc
0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d
0x02 0x0029.001.00000107 0x018000e2.00bc.04 --U- 1 fsc 0x0000.0021a130
0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a
tl: 16 fb: --H-FL-- lb: 0x2 cc: 2
col 0: [10] 31 20 20 20 20 20 20 20 20 20
col 1: [ 1] 48
2
“H”
st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1
UPDATE T1
SET c2 = ‘I’
© Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved.
Inside of Oracle via ODI tool When _db_block_max_cr_dba = 6
Buffer Cache
CR
col 1: [ 1] 41
(A)
BH (0x657d8238)
CR
col 1: [ 1] 42
(B)
BH (0x657d8100)
CR
col 1: [ 1] 43
(C)
BH (0x653fab88)
CR
col 1: [ 1] 44
(D)
BH (0x653fa7e0)
CR
col 1: [ 1] 45 (E)
BH (0x653fa438)
CR
col 1: [ 1] 46 (F)
BH (0x653fa090)
New CU
block
New CU block
New CU
Block
XCURRENT
XCURRENTXCURRENT
XCURRENT
XCURRENT
New CU
Block
XCURRENT
col 1: [ 1] 49
(I)
XCURRENT
CR Block Reuse
CR Block Reuse
bloc
k1
bloc
k2
bloc
k3
block
4
block
5
block
6
block
1
block
2
block
3
New CU
block
CR Block Reuse
XCURRENT
col 1: [ 1] 47
(G)
CR
col 1: [ 1] 47
(G)
XCURRENT
col 1: [ 1] 48
(H)
CR
col 1: [ 1] 48
(H)
When _db_block_max_cr_dba equals 6,
a maximum of 6 data blocks are allocated
and rotate among them for updates.
Oracle Deep Internal
Blog
Video
E-mail
NAVER http://cafe.naver.com/playexem
ITPUB http://blog.itpub.net/31135309/
Wordpress https://playexem.wordpress.com/
Slideshare http://www.slideshare.net/playexem
Youtube https://www.youtube.com/channel/UC
5wKR_-A0eL_Pn_EMzoauJg
Research & Contents Team Sook jin, Kim
edu@ex-em.com
For more information, or to schedule an on-site
education, contact via blog or e-mail

More Related Content

What's hot

Symbolic Debugging with DWARF
Symbolic Debugging with DWARFSymbolic Debugging with DWARF
Symbolic Debugging with DWARF
Samy Bahra
 
Compiling Imperative and Object-Oriented Languages - Garbage Collection
Compiling Imperative and Object-Oriented Languages - Garbage CollectionCompiling Imperative and Object-Oriented Languages - Garbage Collection
Compiling Imperative and Object-Oriented Languages - Garbage Collection
Guido Wachsmuth
 
Vhdl practical exam guide
Vhdl practical exam guideVhdl practical exam guide
Vhdl practical exam guide
Eslam Mohammed
 
Reading php terminal-gameboy-emulator
Reading php terminal-gameboy-emulatorReading php terminal-gameboy-emulator
Reading php terminal-gameboy-emulator
Tomoki Hasegawa
 
Log file
Log fileLog file
Log file
scoundral
 
The forgotten art of assembly
The forgotten art of assemblyThe forgotten art of assembly
The forgotten art of assembly
Marian Marinov
 
Watching And Manipulating Your Network Traffic
Watching And Manipulating Your Network TrafficWatching And Manipulating Your Network Traffic
Watching And Manipulating Your Network Traffic
Josiah Ritchie
 
Combo fix
Combo fixCombo fix
Combo fix
Vagner Silva
 
Exploring the x64
Exploring the x64Exploring the x64
Exploring the x64
FFRI, Inc.
 

What's hot (9)

Symbolic Debugging with DWARF
Symbolic Debugging with DWARFSymbolic Debugging with DWARF
Symbolic Debugging with DWARF
 
Compiling Imperative and Object-Oriented Languages - Garbage Collection
Compiling Imperative and Object-Oriented Languages - Garbage CollectionCompiling Imperative and Object-Oriented Languages - Garbage Collection
Compiling Imperative and Object-Oriented Languages - Garbage Collection
 
Vhdl practical exam guide
Vhdl practical exam guideVhdl practical exam guide
Vhdl practical exam guide
 
Reading php terminal-gameboy-emulator
Reading php terminal-gameboy-emulatorReading php terminal-gameboy-emulator
Reading php terminal-gameboy-emulator
 
Log file
Log fileLog file
Log file
 
The forgotten art of assembly
The forgotten art of assemblyThe forgotten art of assembly
The forgotten art of assembly
 
Watching And Manipulating Your Network Traffic
Watching And Manipulating Your Network TrafficWatching And Manipulating Your Network Traffic
Watching And Manipulating Your Network Traffic
 
Combo fix
Combo fixCombo fix
Combo fix
 
Exploring the x64
Exploring the x64Exploring the x64
Exploring the x64
 

Viewers also liked

제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
Oracle Deep Internal 3 (ver.2)
Oracle Deep Internal 3 (ver.2)Oracle Deep Internal 3 (ver.2)
Oracle Deep Internal 3 (ver.2)
EXEM
 
Performance schema 설정
Performance schema 설정Performance schema 설정
Performance schema 설정
EXEM
 
The Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQLThe Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQL
EDB
 
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
elliando dias
 
Postgres Presentation
Postgres PresentationPostgres Presentation
Postgres Presentation
gisborne
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
EDB
 
Programming with Python and PostgreSQL
Programming with Python and PostgreSQLProgramming with Python and PostgreSQL
Programming with Python and PostgreSQL
Peter Eisentraut
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
EXEM
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
EDB
 
Ten Reasons Why You Should Prefer PostgreSQL to MySQL
Ten Reasons Why You Should Prefer PostgreSQL to MySQLTen Reasons Why You Should Prefer PostgreSQL to MySQL
Ten Reasons Why You Should Prefer PostgreSQL to MySQL
anandology
 
PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介
NTT DATA OSS Professional Services
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performance
PostgreSQL-Consulting
 
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
Amazon Web Services
 
A couple of things about PostgreSQL...
A couple of things  about PostgreSQL...A couple of things  about PostgreSQL...
A couple of things about PostgreSQL...
Federico Campoli
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1
Federico Campoli
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
Command Prompt., Inc
 

Viewers also liked (19)

제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
Oracle Deep Internal 3 (ver.2)
Oracle Deep Internal 3 (ver.2)Oracle Deep Internal 3 (ver.2)
Oracle Deep Internal 3 (ver.2)
 
Performance schema 설정
Performance schema 설정Performance schema 설정
Performance schema 설정
 
The Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQLThe Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQL
 
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
 
Postgres Presentation
Postgres PresentationPostgres Presentation
Postgres Presentation
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
 
Programming with Python and PostgreSQL
Programming with Python and PostgreSQLProgramming with Python and PostgreSQL
Programming with Python and PostgreSQL
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
 
Ten Reasons Why You Should Prefer PostgreSQL to MySQL
Ten Reasons Why You Should Prefer PostgreSQL to MySQLTen Reasons Why You Should Prefer PostgreSQL to MySQL
Ten Reasons Why You Should Prefer PostgreSQL to MySQL
 
PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介PostgreSQL 9.5 新機能紹介
PostgreSQL 9.5 新機能紹介
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performance
 
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
Announcing Amazon Aurora with PostgreSQL Compatibility - January 2017 AWS Onl...
 
A couple of things about PostgreSQL...
A couple of things  about PostgreSQL...A couple of things  about PostgreSQL...
A couple of things about PostgreSQL...
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
 

Similar to Oracle Deep Internal 3 (ver.2)

Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
Riyaj Shamsudeen
 
Ak12 upgrade
Ak12 upgradeAk12 upgrade
Ak12 upgrade
Accenture
 
Windows Debugging with WinDbg
Windows Debugging with WinDbgWindows Debugging with WinDbg
Windows Debugging with WinDbg
Arno Huetter
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering Oopsies
Anne Nicolas
 
Quic illustrated
Quic illustratedQuic illustrated
Quic illustrated
Alexander Krizhanovsky
 
RISC-V Zce Extension
RISC-V Zce ExtensionRISC-V Zce Extension
RISC-V Zce Extension
RISC-V International
 
11-PLDs.pdf
11-PLDs.pdf11-PLDs.pdf
11-PLDs.pdf
KoayFT
 
Ghosterr
GhosterrGhosterr
Ghosterr
abelino22
 
pg_filedump
pg_filedumppg_filedump
pg_filedump
Aleksander Alekseev
 
ARM 64bit has come!
ARM 64bit has come!ARM 64bit has come!
ARM 64bit has come!
Tetsuyuki Kobayashi
 
TCP (1).ppt
TCP (1).pptTCP (1).ppt
TCP (1).ppt
ToxicityClan
 
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
Simen Li
 
Ak12 pam
Ak12 pamAk12 pam
Ak12 pam
Accenture
 
1st course summary.pptx
1st course summary.pptx1st course summary.pptx
1st course summary.pptx
HebaEng
 
Windbg랑 친해지기
Windbg랑 친해지기Windbg랑 친해지기
Windbg랑 친해지기
Ji Hun Kim
 
Java bytecode Malware Analysis
Java bytecode Malware AnalysisJava bytecode Malware Analysis
Java bytecode Malware Analysis
Brian Baskin
 
Chp5 pic microcontroller instruction set copy
Chp5 pic microcontroller instruction set   copyChp5 pic microcontroller instruction set   copy
Chp5 pic microcontroller instruction set copy
mkazree
 
Dx diag
Dx diagDx diag
crack satellite
crack satellite crack satellite
crack satellite
TecnicoAInstrumentos
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switches
candy tang
 

Similar to Oracle Deep Internal 3 (ver.2) (20)

Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
Ak12 upgrade
Ak12 upgradeAk12 upgrade
Ak12 upgrade
 
Windows Debugging with WinDbg
Windows Debugging with WinDbgWindows Debugging with WinDbg
Windows Debugging with WinDbg
 
Kernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering OopsiesKernel Recipes 2013 - Deciphering Oopsies
Kernel Recipes 2013 - Deciphering Oopsies
 
Quic illustrated
Quic illustratedQuic illustrated
Quic illustrated
 
RISC-V Zce Extension
RISC-V Zce ExtensionRISC-V Zce Extension
RISC-V Zce Extension
 
11-PLDs.pdf
11-PLDs.pdf11-PLDs.pdf
11-PLDs.pdf
 
Ghosterr
GhosterrGhosterr
Ghosterr
 
pg_filedump
pg_filedumppg_filedump
pg_filedump
 
ARM 64bit has come!
ARM 64bit has come!ARM 64bit has come!
ARM 64bit has come!
 
TCP (1).ppt
TCP (1).pptTCP (1).ppt
TCP (1).ppt
 
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
 
Ak12 pam
Ak12 pamAk12 pam
Ak12 pam
 
1st course summary.pptx
1st course summary.pptx1st course summary.pptx
1st course summary.pptx
 
Windbg랑 친해지기
Windbg랑 친해지기Windbg랑 친해지기
Windbg랑 친해지기
 
Java bytecode Malware Analysis
Java bytecode Malware AnalysisJava bytecode Malware Analysis
Java bytecode Malware Analysis
 
Chp5 pic microcontroller instruction set copy
Chp5 pic microcontroller instruction set   copyChp5 pic microcontroller instruction set   copy
Chp5 pic microcontroller instruction set copy
 
Dx diag
Dx diagDx diag
Dx diag
 
crack satellite
crack satellite crack satellite
crack satellite
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switches
 

More from EXEM

Amazon aurora 2
Amazon aurora 2Amazon aurora 2
Amazon aurora 2
EXEM
 
Amazon aurora 1
Amazon aurora 1Amazon aurora 1
Amazon aurora 1
EXEM
 
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
【中文】 odi no.004 analysis of oracle performance degradation caused by ineffi...
【中文】   odi no.004 analysis of oracle performance degradation caused by ineffi...【中文】   odi no.004 analysis of oracle performance degradation caused by ineffi...
【中文】 odi no.004 analysis of oracle performance degradation caused by ineffi...
EXEM
 
[Practical owi] lock & latch
[Practical owi] lock & latch[Practical owi] lock & latch
[Practical owi] lock & latch
EXEM
 

More from EXEM (7)

Amazon aurora 2
Amazon aurora 2Amazon aurora 2
Amazon aurora 2
 
Amazon aurora 1
Amazon aurora 1Amazon aurora 1
Amazon aurora 1
 
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
【中文】 odi no.004 analysis of oracle performance degradation caused by ineffi...
【中文】   odi no.004 analysis of oracle performance degradation caused by ineffi...【中文】   odi no.004 analysis of oracle performance degradation caused by ineffi...
【中文】 odi no.004 analysis of oracle performance degradation caused by ineffi...
 
[Practical owi] lock & latch
[Practical owi] lock & latch[Practical owi] lock & latch
[Practical owi] lock & latch
 

Recently uploaded

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 

Recently uploaded (20)

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 

Oracle Deep Internal 3 (ver.2)

  • 2. © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Scenario Buffer Cache XCURRENT col 1: [ 1] 41 (A) BH (0x657d8238) B A C D E F G H I Update; Commit Update;Commit BCDEFGHI When update a value ‘A’ with values ‘B’ to ‘I’ consecutively, How are CU blocks and CR blocks allocated inside the Buffer Cache?
  • 3. © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Expected outcome Buffer Cache CURRENT BLOCK (XCUR) Update S1 Consistent Read Block (CR 1)& UNDO Update S2 Consistent Read Block (CR 2)& UNDO Update S3 Consistent Read Block (CR 3)& UNDO Update S4 Consistent Read Block (CR 4)& UNDO Update S5 Consistent Read Block (CR 5)& UNDO Update S6
  • 4. © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. 2013, Oracle 10g Performance: chapter 06 buffer cache 25,26 page, Kyle Hailey Cited from http://www.slideshare.net/khailey/oracle-10g-performance-chapter-06-buffer-cache It's so difficult to understand only through the book. I'd like to check internal actual situation of oracle with my own eyes “Max length in Cache Buffer”mechanism as explained in Kyle Hailey's presentation 1. UPDATE T1 SET C2= 'B' ; COMMIT ; 2. UPDATE T1 SET C2= 'C' ; COMMIT ; 3. UPDATE T1 SET C2= 'D' ; COMMIT ; . . . . . . 9. UPDATE T1 SET C2= 'G' ; COMMIT ; . . . . . . ?
  • 5. © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Inside of Oracle via ODI Analyzer When _db_block_max_cr_dba = 6 Buffer Cache CR col 1: [ 1] 41 (A) BH (0x657d8238) CR col 1: [ 1] 42 (B) BH (0x657d8100) CR col 1: [ 1] 43 (C) BH (0x653fab88) CR col 1: [ 1] 44 (D) BH (0x653fa7e0) CR col 1: [ 1] 45 (E) BH (0x653fa438) CR col 1: [ 1] 46 (F) BH (0x653fa090) New CU block New CU block New CU Block XCURRENT XCURRENTXCURRENT XCURRENT XCURRENT New CU Block XCURRENT col 1: [ 1] 49 (I) XCURRENT block 1 block 2 block 3 block 4 block 5 block 6 block 1 block 2 block 3 New CU block XCURRENT col 1: [ 1] 47 (G) CR col 1: [ 1] 47 (G) XCURRENT col 1: [ 1] 48 (H) CR col 1: [ 1] 48 (H) CR Block Reuse CR Block Reuse CR Block Reuse Oracle init parameter When _db_block_max_cr_dba = 6
  • 6. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block 1. UPDATE T1 SET C2= ' B ' ; COMMIT ; Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 2 “A” “B” “A” UPDATE T1 SET c2 = ‘B’
  • 7. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block 2. UPDATE SYSTEM.T1 SET C2= ' C ' ; COMMIT ; Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” “A” UPDATE T1 SET c2 = ‘C’ BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C”
  • 8. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block 3. UPDATE SYSTEM.T1 SET C2= ' D ' ; COMMIT ; Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” UPDATE T1 SET c2 = ‘D’
  • 9. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block 4. UPDATE SYSTEM.T1 SET C2= ' E ' ; COMMIT ; Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba: 0x653b6000 xid: 0x002c.001.000000c4 seq: 0x69 * Rec #0x11 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 44 “D” BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 ---- 1 fsc 0x0000.00000000 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 45 5 “E” UPDATE T1 SET c2 = ‘E’
  • 10. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block 5. UPDATE SYSTEM.T1 SET C2= ' F ' ; COMMIT ; Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba: 0x653b6000 xid: 0x002c.001.000000c4 seq: 0x69 * Rec #0x11 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 44 “D” BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba: 0x653b0000 xid: 0x002b.001.000000c6 seq: 0x62 * Rec #0x2 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 45 “E” BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 45 5 “E” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 46 6 “F” UPDATE T1 SET c2 = ‘F’
  • 11. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 “A” 6. UPDATE SYSTEM.T1 SET C2= ' G ' ; COMMIT ; Reuse BH ‘8283’ Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 47 1 “G” “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba: 0x653b6000 xid: 0x002c.001.000000c4 seq: 0x69 * Rec #0x11 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 44 “D” BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba: 0x653b0000 xid: 0x002b.001.000000c6 seq: 0x62 * Rec #0x2 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 45 “E” BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba: 0x653ac000 xid: 0x002a.001.000000c6 seq: 0x62 * Rec #0x3 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 46 “F” BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 45 5 “E” BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 46 6 “F” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 UPDATE T1 SET c2 = ‘G’
  • 12. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 “A” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” 7. UPDATE SYSTEM.T1 SET C2= ' H ' ; COMMIT ; Reuse BH ‘8100’ Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 sst: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d 0x02 0x0029.001.00000107 0x018000e2.00bc.04 --U- 1 fsc 0x0000.0021a130 0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 48 2 “H” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba: 0x653b6000 xid: 0x002c.001.000000c4 seq: 0x69 * Rec #0x11 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 44 “D” BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba: 0x653b0000 xid: 0x002b.001.000000c6 seq: 0x62 * Rec #0x2 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 45 “E” BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba: 0x653ac000 xid: 0x002a.001.000000c6 seq: 0x62 * Rec #0x3 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 46 “F” BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 45 5 “E” BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 46 6 “F” BH (0x653f9940) file#: 6 rdba: 0x018000e2 (6/226) class: 98 ba: 0x653a8000 xid: 0x0029.001.00000107 seq: 0xbc * Rec #0x4 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 47 “G” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 47 1 “G” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 UPDATE T1 SET c2 = ‘H’
  • 13. Buffer Cache © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Undo Segment Data Block BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 1 “A” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 ---- 1 fsc 0x0000.00000000 0x03 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 42 2 “B” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0027.000.000000c4 0x00000000.0000.00 C--- 0 scn 0x0000.0021a110 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 43 3 “C” 8. UPDATE SYSTEM.T1 SET C2= ' I ' ; COMMIT ; Reuse BH‘ab88’ Rows block_row_dump: tab 0, row 0, @0x1f70 tl: 16 fb: --H-FL-- lb: 0x0 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 41 “A” BH (0x657d7e90) file#: 6 rdba: 0x018000a2 (6/162) class: 90 ba: 0x65434000 xid: 0x0025.000.00000138 seq: 0x9b * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 41 “A” BH (0x653fa918) file#: 6 rdba: 0x01800092 (6/146) class: 86 ba: 0x653c2000 xid: 0x0023.000.00000132 seq: 0xa2 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 42 “B” BH (0x653fa570) file#: 6 rdba: 0x01800082 (6/130) class: 18 ba: 0x653bc000 xid: 0x0001.000.000009ef seq: 0x352 * Rec #0x1 slt: 0x00 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 43 “C” BH (0x653fab88) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c6000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d 0x02 0x0029.001.00000107 0x018000e2.00bc.04 C--- 0 scn 0x0000.0021a130 0x03 0x0028.004.000000db 0x018000d3.00b2.08 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 49 3 “I” BH (0x653fa1c8) file#: 6 rdba: 0x01800112 (6/274) class: 104 ba: 0x653b6000 xid: 0x002c.001.000000c4 seq: 0x69 * Rec #0x11 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 44 “D” BH (0x653f9e20) file#: 6 rdba: 0x01800102 (6/258) class: 102 ba: 0x653b0000 xid: 0x002b.001.000000c6 seq: 0x62 * Rec #0x2 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 45 “E” BH (0x653fa7e0) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653c0000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 ---- 1 fsc 0x0000.00000000 0x02 0x0025.000.00000138 0x018000a2.009b.01 C--- 0 scn 0x0000.0021a11e 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 44 4 “D” BH (0x653f9bb0) file#: 6 rdba: 0x018000f2 (6/242) class: 100 ba: 0x653ac000 xid: 0x002a.001.000000c6 seq: 0x62 * Rec #0x3 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 46 “F” BH (0x653fa438) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653ba000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 --U- 1 fsc 0x0000.0021a127 0x03 0x0023.000.00000132 0x01800092.00a2.01 C--- 0 scn 0x0000.0021a121 tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 45 5 “E” BH (0x653fa090) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x653b4000 st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x0001.000.000009ef 0x01800082.0352.01 C--- 0 scn 0x0000.0021a124 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 ---- 1 fsc 0x0000.00000000 tl: 16 fb: --H-FL-- lb: 0x3 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 46 6 “F” BH (0x653f9940) file#: 6 rdba: 0x018000e2 (6/226) class: 98 ba: 0x653a8000 xid: 0x0029.001.00000107 seq: 0xbc * Rec #0x4 slt: 0x01 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 47 “G” BH (0x657d8238) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x6543a000 st: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 --U- 1 fsc 0x0000.0021a12d 0x02 0x002c.001.000000c4 0x01800112.0069.11 C--- 0 scn 0x0000.0021a127 0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a tl: 16 fb: --H-FL-- lb: 0x1 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 47 1 “G” BH (0x653f96d0) file#: 6 rdba: 0x018000d3 (6/211) class: 96 ba: 0x653a4000 xid: 0x0028.004.000000db seq: 0xb2 * Rec #0x8 slt: 0x04 objn: 69880(0x000110f8) * Layer: 11 (Row) opc: 1 rci 0x00 col 1: [ 1] 48 “H” BH (0x657d8100) file#: 5 rdba: 0x0140dcab (5/56491) class: 1 ba: 0x65438000 sst: XCURRENT md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 Itl Xid Uba Flag Lck Scn/Fsc 0x01 0x002a.001.000000c6 0x018000f2.0062.03 C--- 0 scn 0x0000.0021a12d 0x02 0x0029.001.00000107 0x018000e2.00bc.04 --U- 1 fsc 0x0000.0021a130 0x03 0x002b.001.000000c6 0x01800102.0062.02 C--- 0 scn 0x0000.0021a12a tl: 16 fb: --H-FL-- lb: 0x2 cc: 2 col 0: [10] 31 20 20 20 20 20 20 20 20 20 col 1: [ 1] 48 2 “H” st: CR md: NULL fpin: 'kdswh11: kdst_fetch' tch: 1 UPDATE T1 SET c2 = ‘I’
  • 14. © Copyrights 2001~2016, EXEM CO.,LTD. All Rights Reserved. Inside of Oracle via ODI tool When _db_block_max_cr_dba = 6 Buffer Cache CR col 1: [ 1] 41 (A) BH (0x657d8238) CR col 1: [ 1] 42 (B) BH (0x657d8100) CR col 1: [ 1] 43 (C) BH (0x653fab88) CR col 1: [ 1] 44 (D) BH (0x653fa7e0) CR col 1: [ 1] 45 (E) BH (0x653fa438) CR col 1: [ 1] 46 (F) BH (0x653fa090) New CU block New CU block New CU Block XCURRENT XCURRENTXCURRENT XCURRENT XCURRENT New CU Block XCURRENT col 1: [ 1] 49 (I) XCURRENT CR Block Reuse CR Block Reuse bloc k1 bloc k2 bloc k3 block 4 block 5 block 6 block 1 block 2 block 3 New CU block CR Block Reuse XCURRENT col 1: [ 1] 47 (G) CR col 1: [ 1] 47 (G) XCURRENT col 1: [ 1] 48 (H) CR col 1: [ 1] 48 (H) When _db_block_max_cr_dba equals 6, a maximum of 6 data blocks are allocated and rotate among them for updates.
  • 15. Oracle Deep Internal Blog Video E-mail NAVER http://cafe.naver.com/playexem ITPUB http://blog.itpub.net/31135309/ Wordpress https://playexem.wordpress.com/ Slideshare http://www.slideshare.net/playexem Youtube https://www.youtube.com/channel/UC 5wKR_-A0eL_Pn_EMzoauJg Research & Contents Team Sook jin, Kim edu@ex-em.com For more information, or to schedule an on-site education, contact via blog or e-mail