Programmable View Update Strategies on Relations

11/14/2019
by   Van-Dang Tran, et al.
0

View update is an important mechanism that allows updates on a view by translating them into the corresponding updates on the base relations. The existing literature has shown the ambiguity of translating view updates. To address this ambiguity, we propose a robust language-based approach for making view update strategies programmable and validatable. Specifically, we introduce a novel approach to use Datalog to describe these update strategies. We propose a validation algorithm to check the well-behavedness of the written Datalog programs. We present a fragment of the Datalog language for which our validation is both sound and complete. This fragment not only has good properties in theory but is also useful for solving practical view updates. Furthermore, we develop an algorithm for optimizing user-written programs to efficiently implement updatable views in relational database management systems. We have implemented our proposed approach. The experimental results show that our framework is feasible and efficient in practice.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/27/2018

Making View Update Strategies Programmable - Toward Controlling and Sharing Distributed Data -

Views are known mechanisms for controlling access of data and for sharin...
research
03/18/2018

A View-based Programmable Architecture for Controlling and Integrating Decentralized Data

The view and the view update are known mechanism for controlling access ...
research
07/05/2018

Incremental Relational Lenses

Lenses are a popular approach to bidirectional transformations, a genera...
research
08/18/2021

What is an Algorithm?: a Modern View

Although algorithm is one of the central subjects, there have been littl...
research
05/21/2012

The View-Update Problem for Indefinite Databases

This paper introduces and studies a declarative framework for updating v...
research
10/27/2022

Re-looking at the View Update Problem

Relational databases have always had a means for creating a pseudo-table...
research
11/10/2014

Comparative Study of View Update Algorithms in Rational Choice Theory

The dynamics of belief and knowledge is one of the major components of a...

Please sign up or login with your details

Forgot password? Click here to reset