arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.03958cs.DB
收藏

在线模式演化对于快照数据库(几乎)免费

Online Schema Evolution is (Almost) Free for Snapshot Databases

Tianxun Hu, Tianzheng Wang, Qingqing Zhou

摘要:

现代数据库应用程序经常更改其模式以跟上不断变化的需求。然而,在现有的数据库系统中,对在线和事务模式演化的支持仍然具有挑战性。具体来说,以前的工作往往采取特设的方法模式演变与“补丁”应用到现有的系统,导致许多角落的情况下,往往不完整的功能。因此,应用程序经常不得不仔细地为模式更改安排停机时间,从而牺牲了可用性。本文介绍了Tesseract,一种新的方法,在线和事务模式的演变没有上述缺点。我们基于一个关键的观察来设计Tesseract:在广泛使用的多版本数据库系统中,模式演化可以建模为改变整个表的数据修改操作,即,数据定义即修改(DDaM)。这允许我们通过利用并发控制协议来几乎“免费”地支持模式。通过对现有快照隔离协议的简单调整,在40核服务器上,我们表明,在各种工作负载下,Tesseract能够在没有服务停机的情况下提供在线事务模式演化,并在模式演化过程中保持高应用程序性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑