DocumentCode
774896
Title
A theory of translation from relational queries to hierarchical queries
Author
Meng, Weiyi ; Yu, Clement ; Kim, Won
Author_Institution
Dept. of Comput. Sci., State Univ. of New York, Binghamton, NY, USA
Volume
7
Issue
2
fYear
1995
fDate
4/1/1995 12:00:00 AM
Firstpage
228
Lastpage
245
Abstract
In a heterogeneous database system, a query for one type of database system (i.e., a source query) may have to be translated to an equivalent query (or queries) for execution in a different type of database system (i.e., a target query). Usually, for a given source query, there is more than one possible target query translation. Some of them can be executed more efficiently than others by the receiving database system. Developing a translation procedure for each type of database system is time-consuming and expensive. We abstract a generic hierarchical database system (GHDBS) which has properties common to database systems whose schema contains hierarchical structures (e.g., System 2000, IMS, and some object-oriented database systems). We develop principles of query translation with GHDBS as the receiving database system. Translation into any specific system can be accomplished by a translation into the general system with refinements to reflect the characteristics of the specific system. We develop rules that guarantee correctness of the target queries, where correctness means that the target query is equivalent to the source query. We also provide rules that can guarantee a minimum number of target queries in cases when one source query needs to be translated to multiple target queries. Since the minimum number of target queries implies the minimum number of times the underlying system is invoked, efficiency is taken into consideration
Keywords
database theory; distributed databases; query processing; relational databases; correctness; efficiency; equivalent query; generic hierarchical database system; heterogeneous database system; hierarchical queries; hierarchical structures; receiving database system; refinements; relational query translation; rules; source query; target query translation; Computer science; Data models; Database systems;
fLanguage
English
Journal_Title
Knowledge and Data Engineering, IEEE Transactions on
Publisher
ieee
ISSN
1041-4347
Type
jour
DOI
10.1109/69.382294
Filename
382294
Link To Document