Xiangyao Yu 4/16/2020
CS 839: Design the Next-Generation Database Lecture 24: HTAP
1
CS 839: Design the Next-Generation Database Lecture 24: HTAP - - PowerPoint PPT Presentation
CS 839: Design the Next-Generation Database Lecture 24: HTAP Xiangyao Yu 4/16/2020 1 Announcements Vote on the topic of the last lecture Option 1: Streaming [required] Discretized Streams: Fault-Tolerant Streaming Computation at Scale
1
2
Cost in Massive-Scale, Unbounded, Out-of-Order Data Processing
3
4
5
6
7
[1] Özcan, Fatma, Yuanyuan Tian, and Pinar Tözün. "Hybrid transactional/analytical processing: A survey." ICMD, 2017.
8
[2] Harizopoulos, S., Abadi, D. J., Madden, S., & Stonebraker, M. OLTP through the looking glass, and what we found there. SIGMOD 2008
9
[3] Kallman, R., et al. H-store: a high-performance, distributed main memory transaction processing system. VLDB 2008
10
11
12
13
14
15 Page tables OLTP process OLAP process Page OLTP process OLAP process Page Page’
16 OLTP process
B ref=1 A ref=1
17 Snapshot 1
B ref=2 A ref=2 OLTP process
18 Snapshot 1 B ref=2 A ref=1
A’ ref=1 OLTP process
19 Snapshot 1 B ref=3 A ref=1
A’ ref=2 Snapshot 2 OLTP process
20 Snapshot 1 B ref=2 A ref=1
A’ ref=2 Snapshot 2 OLTP process
21
22
23
24
25
26
27
28
Cost in Massive-Scale, Unbounded, Out-of-Order Data Processing
29