Micro-architectural analysis of in-memory OLTP: Revisited
- Utku Sirin,
- ,
- Danica Porobic,
- Ahmad Yasin,
- Anastasia Ailamaki
- Laboratory of Cognitive Neuroscience, EPFL,
- ,
- Oracle Corporation,
- Intel
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOpen Access
Resume
Micro-architectural behavior of traditional disk-based online transaction processing (OLTP) systems has been investigated extensively over the past couple of decades. Results show that traditional OLTP systems mostly under-utilize the available micro-architectural resources. In-memory OLTP systems, on the other hand, process all the data in main-memory and, therefore, can omit the buffer pool. Furthermore, they usually adopt more lightweight concurrency control mechanisms, cache-conscious data structures, and cleaner codebases since they are usually designed from scratch. Hence, we expect significant differences in micro-architectural behavior when running OLTP on platforms optimized for in-memory processing as opposed to disk-based database systems. In particular, we expect that in-memory systems exploit micro-architectural features such as instruction and data caches significantly better than disk-based systems. This paper sheds light on the micro-architectural behavior of in-memory database systems by analyzing and contrasting it to the behavior of disk-based systems when running OLTP workloads. The results show that, despite all the design changes, in-memory OLTP exhibits very similar micro-architectural behavior to disk-based OLTP: more than half of the execution time goes to memory stalls where instruction cache misses or the long-latency data misses from the last-level cache (LLC) are the dominant factors in the overall execution time. Even though ground-up designed in-memory systems can eliminate the instruction cache misses, the reduction in instruction stalls amplifies the impact of LLC data misses. As a result, only 30% of the CPU cycles are used to retire instructions, and 70% of the CPU cycles are wasted to stalls for both traditional disk-based and new generation in-memory OLTP.
Publikation information
Produktionstype
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOriginalsprog
EngelskSider fra-til (Antal sider)
Sider 641-665 (25 sider)Tidsskrift (Bind, Nummer)
The VLDB Journal (Bind 30, Udgave 4)Publikationsmilepæle
- Udgivet - 2021
Publikationsstatus
Udgivet - 2021
ISSN
0949-877XPublication IDs
- Scopus: 85103394583
Metrikker
PlumX, åbner i en ny fane
Hentninger
39
Antal citationer
4
Adgang til dokumenter
Forlagets udgivne version, 2.32 MB
Forlagets udgivne version
