[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Differential Relational Calculus for Integrity Maintenance

Published: 01 March 1998 Publication History

Abstract

A differential calculus for first-order logic is developed to enforce database integrity. Formal differentiation of first-order sentences is useful in maintaining database integrity, since once a database constraint is expressed as a first-order sentence, its derivative with respect to a transaction provides the necessary and sufficient condition for maintaining integrity. The derivative is often much simpler to test than the original constraint since it maintains integrity differentially by assuming integrity before the transaction, and testing only for new violations. The formal differentiation requires no resolution search, but only substitution. It is more efficient than resolution-based approaches; and it provides a considerably more general solution than previous substitution-based methods since it is valid for all first-order sentences and with all transactions involving arbitrary collections of atomic changes to the database. It also produces a large number of sufficient conditions that are often less strict than those of the previous approaches; and it can be extended to accommodate many dynamic constraints.

References

[1]
P.A. Bernstein and B. Blaustein, "A Simplification Algorithm for Integrity Assertions and Concrete Views," Proc. COMPSAC, pp. 90-99, 1981.
[2]
P.A. Bernstein, "A Second Order Logic for Database Transaction Semantics," ACM Trans. Programming Languages and Systems, vol. 8, no. 2, 1983.
[3]
C. Chang and R.C. Lee, Symbolic Logic and Mechanical Theorem Proving, Academic Press, 1973.
[4]
H. Gallaire J. Minker and J.M. Nicolas, "Logic and Databases: A Deductive Approach," Computing Surveys, vol. 16, no. 2, pp. 152-185, 1984.
[5]
A. Gupta J. Ullman Y. Sagi and J. Widom, "Constraint Checking with Partial Information," Proc. ACM PODS Conf., pp. 45-55, 1994.
[6]
I. Kobayashi, "Validating Database Updates," Information Systems, vol. 9, no. 1, pp. 1-17, 1986.
[7]
A.Y. Levy and Y. Sagiv, "Queries Independent of Update," Proc. VLDB Conf., pp. 171-181, 1993.
[8]
W.W. McCune and L.J. Henschen, "Maintaining State Constraints in Relational Databases: A Proof Theoretic Basis," J. ACM, vol. 36, no. 1, pp. 46-68, 1989.
[9]
A. Motro, "Integrity = Validity + Completeness," ACM Trans. Database Systems, vol. 14, no. 4, pp. 480-502, 1989.
[10]
J.M. Nicolas, "Logic for Improving Integrity Checking in Relational Databases," Acta Informatica, vol. 18, pp. 227-253, 1982.
[11]
G. Moerkotte and P. Lockemann, "Reactive Consistency Control in Deductive Databases," ACM Trans. Database Systems, vol. 16, no. 4, pp. 670-702, 1991.
[12]
L.V. Orman, "Queries = Examples + Counterexamples," Information Systems, vol. 21, no. 8, pp. 615-635, 1996.
[13]
L.V. Orman, "Relational Database Constraints as Counterexamples," Acta Informatica, vol. 34, pp. 167-189, 1997.
[14]
R. Paige and S. Koenig, "Finite Differencing of Computable Expressions," ACM Trans. Programming Languages and Systems, vol. 4, no. 3, pp. 402-454, 1982.
[15]
X. Qian and G. Wiederhold, "Incremental Computation of Active Relational Expressions," IEEE Trans. Knowledge and Data Eng., vol. 3, no. 3, pp. 337-341, 1991.
[16]
F. Sadri and R. Kowalski, "A Theorem Proving Approach to Database Integrity," Foundations of Deductive Databases and Logic Programming, Morgan Kaufman, pp. 313-762, 1988.
[17]
M. Stonebraker, et al., "The Postgres Rules System," IEEE Trans. Software Eng., vol. 14, no. 7, 1988.
[18]
A. Shephard and L. Kerschberg, "PRISM: A Knowledge Based System for Semantic Integrity Specification and Enforcement in Database Systems," Proc. SIGMOD Conf., pp. 307-315, 1984.
[19]
S.D. Urban and L.M.L. Delcambre, "Constraint Analysis: Specifying Operations or Objects," IEEE Trans. Knowledge and Data Eng., vol. 2, pp. 391-400, 1990.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Knowledge and Data Engineering
IEEE Transactions on Knowledge and Data Engineering  Volume 10, Issue 2
March 1998
157 pages

Publisher

IEEE Educational Activities Department

United States

Publication History

Published: 01 March 1998

Author Tags

  1. Database integrity
  2. first-order logic
  3. formal differentiation.
  4. integrity maintenance
  5. relational database

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2014)Incremental Maintenance of Aggregate ViewsProceedings of the 8th International Symposium on Foundations of Information and Knowledge Systems - Volume 836710.1007/978-3-319-04939-7_20(399-414)Online publication date: 3-Mar-2014
  • (2007)PredicalcThe Knowledge Engineering Review10.1017/S026988890700115422:3(281-295)Online publication date: 1-Sep-2007
  • (2002)Exploring into Programs for the Recovery of Data Dependencies DesignedIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2002.101921614:4(825-835)Online publication date: 1-Jul-2002
  • (2001)Transaction Repair for Integrity EnforcementIEEE Transactions on Knowledge and Data Engineering10.1109/69.97119213:6(996-1009)Online publication date: 1-Nov-2001
  • (2001)Database audit and control strategiesInformation Technology and Management10.1023/A:10099307200902:1(27-51)Online publication date: 31-Jan-2001
  • (1997)Database auditingProceedings of the eighteenth international conference on Information systems10.5555/353071.353138(297-314)Online publication date: 15-Dec-1997

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media