RUS  ENG
Full version
JOURNALS // Vestnik Yuzhno-Ural'skogo Gosudarstvennogo Universiteta. Seriya "Vychislitelnaya Matematika i Informatika" // Archive

Vestn. YuUrGU. Ser. Vych. Matem. Inform., 2019 Volume 8, Issue 2, Pages 92–106 (Mi vyurv214)

This article is cited in 1 paper

Updating of multi-table views based on commutative database transformations

V. S. Zykina, M. L. Zymblerb

a Omsk State Technical University (pr. Mira 11, Omsk, 644050 Russia)
b South Ural University (pr. Lenina 76, Chelyabinsk, 454080 Russia)

Abstract: In modern relational database technologies, views implement the external layer of the ANSI-SPARC architecture, which encapsulates details of the database conceptual structure from end-users. However, when using views, we need to solve the problem of correct view updating: DBMS must execute insertion, deletion, and updating tuples of the view while providing correct modifications of corresponding target relation(s) of this view. To solve this problem, the SQL standard introduces a strict restriction: only one tuple in the target relation can correspond to the modified tuple in the view. In addition, triggers are not a satisfactory solution of this problem because of necessity of such a trigger for each view of the database, and unpredictable sequence in execution of triggers that belong to the same view, etc. The paper presents an approach to solve the problem of correct view updating based on the commutative database transformations. This does not limit the tuple uniqueness in the target relation that corresponds to the updated tuple in the view. We describe the DBMS Coprocessor, which is deployed on the client computer and provides commutative transformations in the database relations stored on the server side. The coprocessor generates a transaction's script that implements commutative transformations and runs the transaction on the server. We present implementation of the Coprocessor for the PostgreSQL open-source DBMS. Experimental evaluation confirms the effectiveness of the proposed approach in OLAP and OLTP applications.

Keywords: commutative transformation, relational algebra, multi-table view, view updating, relational DBMS, trigger.

UDC: 004.652.43, 004.421.4

Received: 26.09.2018

DOI: 10.14529/cmse190206



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024