University of Toronto
Replication and Workload Management for In-Memory OLTP Databases
Abstract
dc:description.abstractOnline transaction processing (OLTP) databases are a critical component of modern computing infrastructure services. As a result, they must be highly available, and they must process requests efficiently for a wide range of workloads. Databases provide high availability by using replication so that when a database replica fails, a backup can take over. They use workload management mechanisms for efficiently supporting different types of workloads with varying levels of skew and contention. This thesis revisits the challenges of database replication and workload management for in-memory databases. Unlike traditional disk-based databases, in-memory databases are designed for workloads whose entire dataset fits in DRAM memory. These databases are highly scalable, raising challenges for replication and workload management. For example, traditional database replication schemes suffer from the network, instead of storage, bottlenecks because in-memory databases have much higher throughput, and traditional workload management solutions significantly limit the performance of in-memory databases. In this thesis, we propose using deterministic concurrency control as the basis for replication and workload management. Deterministic concurrency control allows transactions to execute concurrently while guaranteeing equivalence to a predetermined serial ordering of transactions. For data replication, we propose a replay-based scheme that executes transactions concurrently and scalably on the backup database in the serial order predetermined by the primary database. Our solution reduces network bandwidth requirements to 10-15% of traditional database replication schemes. For workload management, we propose two optimizations to deterministic concurrency control that help parallelize internal database operations. These optimizations enable handling contention and skewed workloads efficiently and provide 30% to 6x performance improvements.
Degree
thesis:*- Department dc:contributor.department
- Electrical and Computer Engineering
- Year dc:date.issued
- 2021
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Qin, Dai
- Advisors dc:contributor.advisor
-
- Goel, Ashvin
- Demke Brown, Angela
Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/106336