Refinements of complexity results on type consistency for object-oriented databases

Citation
Y. Ishihara et al., Refinements of complexity results on type consistency for object-oriented databases, J COMPUT SY, 62(4), 2001, pp. 537-564
Citations number
17
Categorie Soggetti
Computer Science & Engineering
Journal title
JOURNAL OF COMPUTER AND SYSTEM SCIENCES
ISSN journal
00220000 → ACNP
Volume
62
Issue
4
Year of publication
2001
Pages
537 - 564
Database
ISI
SICI code
0022-0000(200106)62:4<537:ROCROT>2.0.ZU;2-J
Abstract
The method invocation mechanism is one of the essential Features in object- oriented programming languages. This mechanism contributes to data encapsul ation and code reuse, but there is a risk of a run-time type error. In the case of object-oriented databases (OODBs), a run-time error causes rollback . Therefore, it is desirable to ensure that a given OODB schema is consiste nt; i.e., no run-time type error occurs during the execution of queries und er any database instance of the OODB schema. This paper discusses the compu tational complexity of the type-consistency problem. As a model of OODB sch emas, we adopt update schemas introduced by R. Hull cr rrl.. which have all of the basic features of OODBs such as class hierarchy. inheritance. and c omplex objects. Fur several subclasses of update schemas, the complexity of the type-consistency problem is presented. Importantly, it turns out that nonflatness of the class hierarchy, recursion in the queries:, and update o perations in the queries each make the problem difficult. (C) 2001 Academic Press.