Work

Towards Online and Transactional Relational Schema Transformations

Year: 2014
Type: report
Abstract: In this paper, we want to draw the attention of the database community to the problem of online schema changes: chang-ing the schema of a database without blocking concurrent transactions. We have identified important classes of re-lational schema transformations that we want to perform online, and we have identified general requirements for the mechanisms that execute these transformations. Using these requirements, we have developed an experiment based on the standard TPC-C benchmark to assess the behaviour of ex-isting systems. We look at PostgreSQL, which does not sup-port online schema changes; MySQL, which supports basic online schema changes; and pt-online-schema-change, which is a tool for MySQL that uses triggers to implement online schema changes. We found that none of the existing systems fulfill our requirements. In particular, existing non-blocking solutions can not maintain the ACID guarantees when com-posing schema transformations. This leads to intermediate states being exposed to database programs, which are non-trivial to handle correctly. As a solution direction, we pro-pose lazy schema transformations, which can naturally be composed into complex schema transformations that prop-erly guarantee the ACID properties, and which have mini-mal impact on concurrent transactions. 1.
Language: English
Open Access status: green
OpenAlex ID: W4097958
Cites: 13
Cited by: 1
Related to: 10