Online Schema Evolution is (Almost) Free for Snapshot Databases

10/08/2022
by   Tianxun Hu, et al.
0

Modern database applications often change their schemas to keep up with the changing requirements. However, support for online and transactional schema evolution remains challenging in existing database systems. Specifically, prior work often takes ad hoc approaches to schema evolution with 'patches' applied to existing systems, leading to many corner cases and often incomplete functionality. Applications therefore often have to carefully schedule downtimes for schema changes, sacrificing availability. This paper presents Tesseract, a new approach to online and transactional schema evolution without the aforementioned drawbacks. We design Tesseract based on a key observation: in widely used multi-versioned database systems, schema evolution can be modeled as data modification operations that change the entire table, i.e., data-definition-as-modification (DDaM). This allows us to support schema almost 'for free' by leveraging the concurrency control protocol. By simple tweaks to existing snapshot isolation protocols, on a 40-core server we show that under a variety of workloads, Tesseract is able to provide online, transactional schema evolution without service downtime, and retain high application performance when schema evolution is in progress.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/28/2020

An Empirical Study on the Design and Evolution of NoSQL Database Schemas

We study how software engineers design and evolve their domain model whe...
research
02/18/2019

Schema Validation and Evolution for Graph Databases

Despite the maturity of commercial graph databases, little consensus has...
research
11/24/2022

Enhanced Inversion of Schema Evolution with Provenance

Long-term data-driven studies have become indispensable in many areas of...
research
10/24/2019

Toward Co-existing Database Schemas based on Bidirectional Transformation

According to strong demands for rapid and reliable software delivery, co...
research
03/29/2023

NoSQL Schema Design for Time-Dependent Workloads

In this paper, we propose a schema optimization method for time-dependen...
research
09/20/2023

Live Local Schema Change: Challenge Problems

Schema change is an unsolved problem in both live programming and local-...
research
08/28/2019

A Semantic Schema for Data Quality Management in a Multi-Tenant Data Platform

Schibsted Media Group is a global marketplace company with presence in m...

Please sign up or login with your details

Forgot password? Click here to reset