Scheduling online repartitioning in OLTP systems

Kaiji Chen, Yongluan Zhou, Yu Cao

1 Citation (Scopus)

Abstract

Previous studies on automatic database partitioning mostly focus on optimizing the (re)partitioning scheme for a given database and its query workload, while overseeing the problem about how to efficiently deploy the partition scheme onto the database system, which is, however, often non-trivial and challenging, especially in a distributed OLTP system where repartitioning is expected to take place online without interfering the user transactions. In this paper, we propose SOAP, a system framework for scheduling online database repartitioning for OLTP workloads. SOAP aims to minimize the time frame of executing the repartition operations while guaranteeing the correctness and performance of user transactions. It models and groups the repartition operations into repartition transactions, and then mixes them with the normal transactions for holistic scheduling optimization. SOAP utilizes a cost-based approach to prioritize the repartition transactions, and leverages a feedback model in control theory to determine in which order and at which frequency the repartition transactions should be scheduled for execution. When the system is under heavy workloads, selected repartition operations would piggyback onto the normal transactions to mitigate the repartitioning overhead. We have built a SOAP prototype on top of PostgreSQL and running at Amazon EC2, and conducted a comprehensive experimental study validating SOAP's significant performance advantages.

Original languageEnglish
Title of host publicationMiddeware’14 Industry Short Papers : proceedings of the Industry Track of the 15th ACM/IFIP/USENIX International Conference on Middleware
Number of pages6
PublisherAssociation for Computing Machinery
Publication date8 Dec 2014
Article number4
ISBN (Print)978-1-4503-3219-4
DOIs
Publication statusPublished - 8 Dec 2014
Externally publishedYes
Event 15th ACM/IFIP/USENIX International Conference on Middleware - Bordeaux, France
Duration: 11 Dec 201411 Dec 2014
Conference number: 15

Conference

Conference 15th ACM/IFIP/USENIX International Conference on Middleware
Number15
Country/TerritoryFrance
CityBordeaux
Period11/12/201411/12/2014

Fingerprint

Dive into the research topics of 'Scheduling online repartitioning in OLTP systems'. Together they form a unique fingerprint.

Cite this