Title :
Transactions and updates in deductive databases
Author :
Montesi, Danilo ; Bertino, Elisa ; Martelli, Maurizio
Author_Institution :
Dipt. di Sci. dell´´Inf., Milan Univ., Italy
Abstract :
In this paper, we develop a new approach that provides a smooth integration of extensional updates and declarative query languages for deductive databases. The approach is based on a declarative specification of updates in rule bodies. Updates are not executed as soon as evaluated. Instead, they are collected and then applied to the database when the query evaluation is completed. We call this approach nonimmediate update semantics. We provide a top-down and equivalent bottom-up semantics which reflect the corresponding computation models. We also package set of updates into transactions and we provide a formal semantics for transactions. Then, in order to handle complex transactions, we extend the transaction language with control constructors still preserving formal semantics and semantics equivalence
Keywords :
database languages; deductive databases; formal specification; query languages; computation models; declarative query languages; declarative specification; deductive databases; extensional updates; formal semantics; nonimmediate update semantics; query evaluation; rule bodies; semantics equivalence; smooth integration; transactions; updates; Computational modeling; Database languages; Deductive databases; Logic; Packaging; Performance evaluation; Proposals; Query processing; Transaction databases;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on