The theoretical study of the relational model of data is ongoing and highly developed. Yet the vast majority of real databases include incomplete data, and the incomplete data is widely modelled using special values called {\em nulls}. As noted many times by Date and others, the inclusion of special values is not compatible with the relational model and invalidates many of the theoretical results. In category theoretic applications to computer science, partial functions are frequently modelled by using a special value approach (the {\em partial map classifier}), or by explicit reference to the {\em domain of definition subobject}. In a former edition of the CATS conference the first author and his colleague Rosebrugh proved a Morita equivalence theorem showing that for database modelling the two approaches are equivalent, {\em provided} the domain of definition subobject is complemented. In this paper we study the uncomplemented domain of definition approach (which is {\em not} equivalent to using special values). Our main results show that using uncomplemented domains of definition to model incomplete data is entirely compatible with the relational model and so leaves the well-developed theory applicable to real databases that use this approach. Furthermore, using uncomplemented domains of definition supports in-place updating, in stark contrast to special values, and, in a wide variety of circumstances, ensures the existence of cartesian and op-cartesian models which, as shown in a recent TCS article, are important for solving view update problems.

A Relational Model of incomplete Data without nulls / M. Johnson, S. Kasangian - In: CATS '10 Proceedings of the Sixteenth Symposium on Computing: the Australasian Theory / [a cura di] T. Viglas, A. Potanin. - Darlinghurst, Australia : Australian Computer Society, Inc. Darlinghurst, Australia, 2010 Jul 01. - ISBN 978-1-920682-90-3. - pp. 123-126 (( Intervento presentato al 16. convegno Computing: the Australasian Theory Symposium - CATS tenutosi a Brisbane, Australia nel 2010.

A Relational Model of incomplete Data without nulls

S. Kasangian
Secondo
2010

Abstract

The theoretical study of the relational model of data is ongoing and highly developed. Yet the vast majority of real databases include incomplete data, and the incomplete data is widely modelled using special values called {\em nulls}. As noted many times by Date and others, the inclusion of special values is not compatible with the relational model and invalidates many of the theoretical results. In category theoretic applications to computer science, partial functions are frequently modelled by using a special value approach (the {\em partial map classifier}), or by explicit reference to the {\em domain of definition subobject}. In a former edition of the CATS conference the first author and his colleague Rosebrugh proved a Morita equivalence theorem showing that for database modelling the two approaches are equivalent, {\em provided} the domain of definition subobject is complemented. In this paper we study the uncomplemented domain of definition approach (which is {\em not} equivalent to using special values). Our main results show that using uncomplemented domains of definition to model incomplete data is entirely compatible with the relational model and so leaves the well-developed theory applicable to real databases that use this approach. Furthermore, using uncomplemented domains of definition supports in-place updating, in stark contrast to special values, and, in a wide variety of circumstances, ensures the existence of cartesian and op-cartesian models which, as shown in a recent TCS article, are important for solving view update problems.
Category theory ; relational model ; partiality ; database special values
Settore INF/01 - Informatica
1-lug-2010
http://dl.acm.org/citation.cfm?id=1862329
Book Part (author)
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/233784
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact