Resolving Journaling of Journal Anomaly via Weaving Recovery Information into DB Page Beomseok Nam
UNIST
NVRAMOS ‘14 10.30. 2014
Resolving Journaling of Journal Anomaly via Weaving Recovery - - PowerPoint PPT Presentation
NVRAMOS 14 10.30. 2014 Resolving Journaling of Journal Anomaly via Weaving Recovery Information into DB Page Beomseok Nam UNIST Outline Motivation Journaling of Journal Anomaly How to resolve Journaling of Journal anomaly
NVRAMOS ‘14 10.30. 2014
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
∞ [0~5) : P1 5 [3~5) 10 [2~5) 12 [4~5) 40 [1~5) P1 5 [5~∞) 10 [5~∞) P3 12 [5~∞) 40 [5~∞) P2 10 [5~∞) : P3 ∞ [5~∞) : P2 P4 25 [5~∞) dirty dirty dirty dirty
22
23
24
25
26
27
28
29
30
31
32
33
34
35
P1 P2 P3 P1
Transaction 1
36
P1
Transaction 1
P2 P3
P1 P2 P3
37
P2 P3
Transaction 1
P1 P1
Header Page 1
Write Transaction
Read Transaction
dirty dirty
38
Page N
Write Transaction
Read Transaction
39
Header Page 1
Page N
40
Write Transaction
Read Transaction
Header Page 1
Page N
dirty
P5: 10 : P4 40 : P3
∞ : P2 25 12
P4: 5 10 P3: P2: 55 ∞
12 25 15 40 20 P5: 10 : P4 40 : P3 ∞ : P2 40 10 dirty dirty dirty dirty
41
42
P4: 5 10 P3: P5: 10 : P4 P2: 55 90
12 25 15 40 40 : P3 90 : P2 P5: 20 15 : P5 dirty dirty dirty
43
44
LS-MVBT fsync WAL fsync() B-tree computation
46
47
48
49
50
51
52
53
54
55
56
40% improvement
57
58
59