National University of Singapore
TECHNIQUES FOR VERIFYING DATABASE INTEGRITY CONSTRAINTS
Abstract
dc:description.abstractIntegrity constraints are meaningful assertions about data that can be expressed in a high level language. The constraints can be enforced on the database by an integrity subsystem which forms a part of the database system. In this thesis, we deal with two specific problems that arise in implementing a fully functional integrity subsystem viz. the validation of integrity constraints that are specified, and the selection of constraints to be checked for violation when the database is being updated. The objective of validating a set of constraints is to detect inaccurate or inconsistent specifications of constraints, which will make it impossible to enforce them on the database. Our method for validating a given set of constraints consists of verifying whether any database state could exist that satisfy those constraints. The test for satisfiability of a set of constraints is carried out in two stages. First, each constraint is checked individually to determine whether it can be true in some database state. Assuming that every constraint of a set is individually satisfiable, we check whether any database state could satisfy all the constraints of the set. The second problem addressed in this thesis is the selection of constraints to be checked during a database update. Given a set of constraints on a database, and any update operation, we have proposed certain rules by which it is possible to decide that a particular constraint will not be violated by some update operations. Based on these rules, we have developed an implementation strategy for selecting constraints that need checking. Chapter 1 describes the context of our research on integrity constraints, and the problems addressed in this thesis. A survey of related literature, and an overview of our solutions to the problems considered in this thesis are also provided. In chapter 2, we define the data model, specify a language based on the tuple relational calculus to express the integrity constraints, and define the various terms that are relevant to the problems discussed in the thesis. Chapter 3 defines the types of constraints for which our method is applicable, and presents the theoretical basis for testing the satisfiability of individual constraints. A polynomial time algorithm to implement the method is also proposed. In chapter 4, the method described in chapter 3 is extended to check the satisfiability of a set of constraints, when each constraint of the set is individually satisfiable. Chapter 5 contains the method for selecting the constraints to be checked in the event of an update to the database. In chapter 6, we give a summary of our results, make comparisons with related work, and indicate some directions for further research.
Degree
thesis:*- Name thesis:degree_name
- MASTER OF SCIENCE (COMPUTER SCIENCE)
- Year dc:date.issued
- 1988
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- P. RAJAGOPALAN
- Advisor dc:contributor.supervisor
-
- LING TOK WANG
Identifiers
dc:identifier.*- Dc Identifier Citation
- P. RAJAGOPALAN (1988). TECHNIQUES FOR VERIFYING DATABASE INTEGRITY CONSTRAINTS. ScholarBank@NUS Repository.