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

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
 
Symbolic Debugging with DWARF
Symbolic Debugging with DWARFSymbolic Debugging with DWARF
Symbolic Debugging with DWARF
Samy Bahra
 
Laboratory Report Sample
Laboratory Report SampleLaboratory Report Sample
Laboratory Report Sample
Markus Flicke
 
The forgotten art of assembly
The forgotten art of assemblyThe forgotten art of assembly
The forgotten art of assembly
Marian Marinov
 
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
 
Dbms plan - A swiss army knife for performance engineers
Dbms plan - A swiss army knife for performance engineersDbms plan - A swiss army knife for performance engineers
Dbms plan - A swiss army knife for performance engineers
Riyaj Shamsudeen
 
crack satellite
crack satellite crack satellite
crack satellite
TecnicoAInstrumentos
 

What's hot (9)

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
 
Symbolic Debugging with DWARF
Symbolic Debugging with DWARFSymbolic Debugging with DWARF
Symbolic Debugging with DWARF
 
Laboratory Report Sample
Laboratory Report SampleLaboratory Report Sample
Laboratory Report Sample
 
The forgotten art of assembly
The forgotten art of assemblyThe forgotten art of assembly
The forgotten art of assembly
 
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
 
Dbms plan - A swiss army knife for performance engineers
Dbms plan - A swiss army knife for performance engineersDbms plan - A swiss army knife for performance engineers
Dbms plan - A swiss army knife for performance engineers
 
crack satellite
crack satellite crack satellite
crack satellite
 

Viewers also liked

Performance schema 설정
Performance schema 설정Performance schema 설정
Performance schema 설정
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
 
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
2009년 시무식 Apm
2009년 시무식 Apm2009년 시무식 Apm
2009년 시무식 ApmEXEM
 
밋업발표
밋업발표밋업발표
밋업발표
진성 박
 
The Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQLThe Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQL
EDB
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
elliando dias
 
Postgres Presentation
Postgres PresentationPostgres Presentation
Postgres Presentation
gisborne
 
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
EXEM
 
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
 

Viewers also liked (20)

Performance schema 설정
Performance schema 설정Performance schema 설정
Performance schema 설정
 
【中文】 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...
 
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 10회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 9회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 7회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
test
testtest
test
 
2009년 시무식 Apm
2009년 시무식 Apm2009년 시무식 Apm
2009년 시무식 Apm
 
밋업발표
밋업발표밋업발표
밋업발표
 
The Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQLThe Great Debate: PostgreSQL vs MySQL
The Great Debate: PostgreSQL vs MySQL
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
 
Postgres Presentation
Postgres PresentationPostgres Presentation
Postgres Presentation
 
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 5회 엑셈 수요 세미나 자료 연구컨텐츠팀
 
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 新機能紹介
 

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
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
 
Technical Overview of QUIC
Technical  Overview of QUICTechnical  Overview of QUIC
Technical Overview of QUIC
shigeki_ohtsu
 

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
 
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
 
Technical Overview of QUIC
Technical  Overview of QUICTechnical  Overview of QUIC
Technical Overview of QUIC
 

Recently uploaded

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
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
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
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
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
 
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
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
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
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
“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
 
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
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
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
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
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
 
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
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 

Recently uploaded (20)

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
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
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
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
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
 
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
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
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
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
“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”
 
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?
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 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
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
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
 
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
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 

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