View Updatability Based on the Models of a Formal Specification

Information system software productivity can be increased by improving the maintainability and modifiability of the software produced. This latter in turn can be achieved by the provision of comprehensive support for views, since view support allows application programs to continue to operate unchanged when the underlying information system is modified. But, supporting views depends upon a solution to the view update problem, and proposed solutions to date have only had limited, rather than comprehensive, applicability. This paper presents a new treatment of view updates for formally specified information systems. The formal specification technique we use is based on category theory and has been the basis of a number of successful major information system consultancies. We define view updates by a universal property in a subcategory of models of the formal specification, and explain why this indeed gives a comprehensive treatment of view updatability, including a solution to the view update problem. However, a definition of updatability which is based on models causes some inconvenience in applications, so we prove that in a variety of circumstances updatability is guaranteed independently of the current model. The paper is predominantly theoretical, as it develops the theoretical basis of a formal methods technique, but the methods described here are currently being used in a large consultancy for a government Department of Health. Because the application area, information systems, is rarely treated by formal methods, we include some detail about the formal methods used. In fact they are extensions of the usual category theoretic specification techniques, and the solution to the view update problem can be seen as requiring the existence of an initial model for a specification.

[1]  Dan A. Simovici,et al.  A categorical approach to database semantics , 1994, Mathematical Structures in Computer Science.

[2]  Arthur H. M. ter Hofstede,et al.  A Category Theory Approach to Conceptual Data Modeling , 1996, RAIRO Theor. Informatics Appl..

[3]  Christopher N. G. Dampney,et al.  An illustrated mathematical foundation for ERA , 1992 .

[4]  R. F. C. Walters,et al.  Categories and computer science , 1992, Cambridge computer science texts.

[5]  Jeffrey D. Uuman Principles of database and knowledge- base systems , 1989 .

[6]  Wesley Phoa,et al.  Categorical Models of Relational Databases I: Fibrational Formulation, Schema Integration , 1994, TACS.

[7]  Nicolas Spyratos,et al.  Implementing Queries and Updates on Universal Scheme Interfaces , 1988, VLDB.

[8]  Michael Johnson,et al.  View updates in a semantic data modelling paradigm , 2001, Proceedings 12th Australasian Database Conference. ADC 2001.

[9]  Zinovy Diskin,et al.  Algebraic Graph-Based Approach to Management of Multidatabase Systems , 1995, NGITS.

[10]  Peter P. Chen The entity-relationship model: toward a unified view of data , 1975, VLDB '75.

[11]  Divesh Srivastava,et al.  Answering Queries Using Views. , 1999, PODS 1995.

[12]  Serge Abiteboul,et al.  Complexity of answering queries using materialized views , 1998, PODS.

[13]  Michael Johnson,et al.  Entity-Relationship Models and Sketches , 1996 .

[14]  Rom Langerak,et al.  View updates in relational databases with an independent scheme , 1990, TODS.

[15]  Michael Barr,et al.  Category theory for computing science , 1995, Prentice Hall International Series in Computer Science.

[16]  Paolo Atzeni,et al.  Updating relational databases through weak instance interfaces , 1992, TODS.

[17]  Frank Piessens,et al.  Selective Attribute Elimination for Categorial Data Specifications , 1997, AMAST.

[18]  Michael Barr,et al.  Category theory for computing science (2. ed.) , 1995, Prentice Hall international series in computer science.

[19]  Daniel Jackson,et al.  Structuring Z specifications with views , 1995, TSEM.

[20]  Hartmut Ehrig,et al.  Fundamentals of Algebraic Specification 1 , 1985, EATCS Monographs on Theoretical Computer Science.

[21]  Jeffrey D. Ullman,et al.  Information integration using logical views , 1997, Theor. Comput. Sci..

[22]  Jeffrey D. Ullman,et al.  Principles of database and knowledge-base systems, Vol. I , 1988 .

[23]  Michael Johnson,et al.  Database Interoperability Through State Based Logical Data Independence , 2003 .

[24]  S. Lane Categories for the Working Mathematician , 1971 .

[25]  Michael Johnson,et al.  On the Value of Commutative Diagrams in Information Modelling , 1993, AMAST.

[26]  Laurian M. Chirica,et al.  The entity-relationship model: toward a unified view of data , 1975, SIGF.

[27]  C. J. Date An Introduction to Database Systems , 1975 .

[28]  John Mylopoulos,et al.  '. . . and nothing else changes': the frame problem in procedure specifications , 1993, Proceedings of 1993 15th International Conference on Software Engineering.

[29]  ChenPeter Pin-Shan The entity-relationship modeltoward a unified view of data , 1976 .