Complexity of the Type-Consistency Problem for Acyclic Object-Oriented Database Schemas

Shougo SHIMIZU  Yasunori ISHIHARA  Junji YOKOUCHI  Minoru ITO  

Publication
IEICE TRANSACTIONS on Information and Systems   Vol.E84-D   No.5   pp.623-634
Publication Date: 2001/05/01
Online ISSN: 
DOI: 
Print ISSN: 0916-8532
Type of Manuscript: PAPER
Category: Databases
Keyword: 
object-oriented database,  type-consistency problem,  acyclic schema,  complexity,  

Full Text: PDF(800KB)>>
Buy this Article




Summary: 
Method invocation mechanism is one of the essential features in object-oriented programming languages. This mechanism contributes to data encapsulation and code reuse, but there is a risk of runtime type errors. In the case of object-oriented databases (OODBs), a runtime error causes rollback. Therefore, it is desirable to ensure that a given OODB schema is consistent, i.e., no runtime error occurs during the execution of queries under any database instance of the OODB schema. This paper discusses the computational complexity of the type-consistency problem. As a model of OODB schemas, we adopt update schemas introduced by Hull et al., which have all of the basic features of OODBs such as class hierarchy, inheritance, complex objects, and so on. The type-consistency problem for update schemas is known to be undecidable. We introduce a subclass of update schemas, called acyclic schemas, and show that the type-consistency problem for acyclic schemas is in coNEXPTIME. Furthermore, we show that the problem for recursion-free acyclic schemas is coNEXPTIME-hard and the problem for retrieval acyclic schemas is PSPACE-complete.