Constraint-based updates in a functional data model database
State change is an intrinsic feature of real-world database applications. However, due to their inherent procedurality, updates can be difficult to support in databases based on the more declarative paradigms, such as the functional and logic data models. A common approach to this problem is to buil...
Main Author: | |
---|---|
Published: |
University of Aberdeen
1994
|
Subjects: | |
Online Access: | http://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.387263 |
id |
ndltd-bl.uk-oai-ethos.bl.uk-387263 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-bl.uk-oai-ethos.bl.uk-3872632017-04-20T03:33:39ZConstraint-based updates in a functional data model databaseEmbury, Suzanne M.1994State change is an intrinsic feature of real-world database applications. However, due to their inherent procedurality, updates can be difficult to support in databases based on the more declarative paradigms, such as the functional and logic data models. A common approach to this problem is to build two distinct subsystems, one of which is allowed to make state changes and the other of which is not. We have explored three ways to provide more uniform support for user updates within the context of P/FDM, a Functional Data Model database implemented in Prolog. The first of these is a subsystem for the efficient checking of a class of semantic integrity constraints, expressed in a declarative language, which relieves users of the burden of ensuring that their updates do not violate database integrity. The second is a simple transaction mechanism that allows users to suspend integrity checking during complex updates, but which ensures that validity has been restored before any transaction is allowed to commit. The final extension provides users with a language for the declarative description of object creations, in which updates are described in terms of the constraints that the resulting database state must satisfy, rather than as sequences of individual update operations. The common factor in each case is the use of semantic domain knowledge, expressed in the form of constraints, to allow the DBMS to insulate users from the worst consequences of state changes. The extended version of the P/FDM system now forms a solid platform from which to experiment further with constraint processing techniques in a database context.005Computer software & programmingUniversity of Aberdeenhttp://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.387263http://digitool.abdn.ac.uk/R?func=search-advanced-go&find_code1=WSN&request1=AAIU066736Electronic Thesis or Dissertation |
collection |
NDLTD |
sources |
NDLTD |
topic |
005 Computer software & programming |
spellingShingle |
005 Computer software & programming Embury, Suzanne M. Constraint-based updates in a functional data model database |
description |
State change is an intrinsic feature of real-world database applications. However, due to their inherent procedurality, updates can be difficult to support in databases based on the more declarative paradigms, such as the functional and logic data models. A common approach to this problem is to build two distinct subsystems, one of which is allowed to make state changes and the other of which is not. We have explored three ways to provide more uniform support for user updates within the context of P/FDM, a Functional Data Model database implemented in Prolog. The first of these is a subsystem for the efficient checking of a class of semantic integrity constraints, expressed in a declarative language, which relieves users of the burden of ensuring that their updates do not violate database integrity. The second is a simple transaction mechanism that allows users to suspend integrity checking during complex updates, but which ensures that validity has been restored before any transaction is allowed to commit. The final extension provides users with a language for the declarative description of object creations, in which updates are described in terms of the constraints that the resulting database state must satisfy, rather than as sequences of individual update operations. The common factor in each case is the use of semantic domain knowledge, expressed in the form of constraints, to allow the DBMS to insulate users from the worst consequences of state changes. The extended version of the P/FDM system now forms a solid platform from which to experiment further with constraint processing techniques in a database context. |
author |
Embury, Suzanne M. |
author_facet |
Embury, Suzanne M. |
author_sort |
Embury, Suzanne M. |
title |
Constraint-based updates in a functional data model database |
title_short |
Constraint-based updates in a functional data model database |
title_full |
Constraint-based updates in a functional data model database |
title_fullStr |
Constraint-based updates in a functional data model database |
title_full_unstemmed |
Constraint-based updates in a functional data model database |
title_sort |
constraint-based updates in a functional data model database |
publisher |
University of Aberdeen |
publishDate |
1994 |
url |
http://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.387263 |
work_keys_str_mv |
AT emburysuzannem constraintbasedupdatesinafunctionaldatamodeldatabase |
_version_ |
1718441552283435008 |