In relational database management systems, views are rarely automatically updatable because of the inherent ambiguity of view updates. To allow view updates, database administrators have to decide and implement an update strategy that must be well-behaved with the view definition to guarantee consistency between the view and the underlying database. In this demonstration, we explore the development process of such view update strategies with the assistance of our framework, called BIRDS. BIRDS enables users to specify view update strategies declaratively using Datalog. BIRDS validates the well-behavedness of user-written update strategies, then optimizes and compiles them into SQL code run in PostgreSQL databases. BIRDS further explains the unexpected behavior of user-written Datalog programs using generated counterexamples, thereby assists users in correcting their programs. We demonstrate all the steps in developing view update strategies via an easy to use interface provided by our system. PVLDB Reference Format: Van-Dang Tran, Hiroyuki Kato, Zhenjiang Hu. BIRDS: Programming view update strategies in Datalog. PVLDB, 13(12): 2897-2900, 2020. DOI: https://doi.org/10.14778/3415478.3415503
[1]
Zhenjiang Hu,et al.
Programmable view update strategies on relations
,
2019,
Proc. VLDB Endow..
[2]
Umeshwar Dayal,et al.
On the Updatability of Relational Views
,
1978,
VLDB.
[3]
Letizia Tanca,et al.
What you Always Wanted to Know About Datalog (And Never Dared to Ask)
,
1989,
IEEE Trans. Knowl. Data Eng..
[4]
Umeshwar Dayal,et al.
On the correct translation of update operations on relational views
,
1982,
TODS.
[5]
Zhenjiang Hu,et al.
The essence of bidirectional programming
,
2015,
Science China Information Sciences.
[6]
Emina Torlak,et al.
Growing solver-aided languages with rosette
,
2013,
Onward!.
[7]
Benjamin C. Pierce,et al.
Combinators for bi-directional tree transformations: a linguistic approach to the view update problem
,
2005,
POPL '05.
[8]
Ralf Lämmel,et al.
Bidirectional Transformations: A Cross-Discipline Perspective
,
2009,
ICMT@TOOLS.