• DocumentCode
    897405
  • Title

    Implementing temporal integrity constraints using an active DBMS

  • Author

    Chomicki, Jan ; Toman, David

  • Author_Institution
    Dept. of Comput. & Inf. Sci., Kansas State Univ., Manhattan, KS, USA
  • Volume
    7
  • Issue
    4
  • fYear
    1995
  • fDate
    8/1/1995 12:00:00 AM
  • Firstpage
    566
  • Lastpage
    582
  • Abstract
    The paper proposes a general architecture for implementing temporal integrity constraints by compiling them into a set of active DBMS rules. The modularity of the design allows easy adaptation to different environments. Both differences in the specification languages and in the target rule systems can be easily accommodated. The advantages of this architecture are demonstrated on a particular temporal constraint compiler. This compiler allows automatic translation of integrity constraints formulated in Past Temporal Logic into rules of an active DBMS (in the current version of the compiler two active DBMS are supported: Starburst and INGRES). During the compilation the set of constraints is checked for the safe evaluation property. The result is a set of SQL statements that includes all the necessary rules needed for enforcing the original constraints. The rules are optimized to reduce the space overhead introduced by the integrity checking mechanism. There is no need for an additional runtime constraint monitor. When the rules are activated, all updates to the database that violate any of the constraints are automatically rejected (i.e., the corresponding transaction is aborted). In addition to straightforward implementation, this approach offers a clean separation of application programs and the integrity checking code
  • Keywords
    SQL; active databases; data integrity; database theory; deductive databases; program compilers; temporal databases; temporal logic; INGRES; Past Temporal Logic; SQL; Starburst; active DBMS rules; active database; application programs; automatic translation; integrity checking; integrity checking code; rule systems; runtime constraint monitor; safe evaluation property; specification languages; temporal constraint compiler; temporal database; temporal integrity constraints; Automatic logic units; Buildings; Computer architecture; History; Information science; Monitoring; Process design; Runtime; Specification languages; Transaction databases;
  • fLanguage
    English
  • Journal_Title
    Knowledge and Data Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1041-4347
  • Type

    jour

  • DOI
    10.1109/69.404030
  • Filename
    404030