Xiangyao Yu 1/30/2020
CS 839: Design the Next-Generation Database Lecture 4: Multicore (Part I)
1
CS 839: Design the Next-Generation Database Lecture 4: Multicore - - PowerPoint PPT Presentation
CS 839: Design the Next-Generation Database Lecture 4: Multicore (Part I) Xiangyao Yu 1/30/2020 1 Announcements Email me if you are not in HotCRP https://wisc-cs839-ngdb20.hotcrp.com New deadline for submitting paper review: Before lecture
1
2
3
4
5
6
7
8
10
11
[1] J. Miller, et al. Graphite: A Distributed Parallel Simulator for Multicores. HPCA’10
12
DL_DETECT 2PL with deadlock detection NO_WAIT 2PL with non-waiting deadlock prevention WAIT_DIE 2PL with wait-and-die deadlock prevention TIMESTAMP Basic T/O algorithm MVCC Multi-version T/O OCC Optimistic concurrency control HSTORE T/O with partition-level locking
Two–Phase Locking (2PL) Timestamp Ordering (T/O) Partitioning
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 Concurrency Control Waiting (Thrashing) High Abort Rate Timestamp Allocation Multi- partition DL_DETECT NO_WAIT WAIT_DIE TIMESTAMP MULTIVERSION OCC HSTORE
38
39
40
41
42
– All clocks must be synchronized
43
concurrency control. VLDB 2017
44
45
46