Algebraic equivalences of nested relational operators

Algebraic optimisation is both theoretically and practically important for query processing in complex value databases. In this paper, we consider this issue and investigate some algebraic properties concerning the nested relational operators.The join operation is one of the most time-consuming operations in nested relational query processing. We introduce a new join operator, called P-join, which combines the advantages of Roth's extended natural join and Colby's recursive join for efficient data access. We also investigate some algebraic properties concerning the P-join operator and extended relational operators, which can be used for query optimisation in nested relational databases.We then examine the role of the restructuring operators nest and unnest in their interactions with the extended relational operators proposed by Roth et al. Under certain functional and mutual data dependencies, the six nested relational equations will hold.Finally, we outline the steps of a heuristic optimisation algorithm that utilises algebraic transformation rules developed in this paper and previous related work to transform an initial query to an optimised one that is more efficient to execute.

[1]  Abraham Silberschatz,et al.  Extended algebra and calculus for nested relational databases , 1988, TODS.

[2]  Gabriel M. Kuper On the expressive power of logic programming languages with sets , 1988, PODS '88.

[3]  Hong-Cheu Liu,et al.  An Efficient Join for Nested Relational Databases , 1996, DEXA.

[4]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[5]  Serge Abiteboul,et al.  A rule-based language with functions and sets , 1991, TODS.

[6]  Hans-Jörg Schek,et al.  The relational model with relation-valued attributes , 1986, Inf. Syst..

[7]  Catriel Beeri,et al.  Sets and negation in a logic data base language (LDL1) , 1987, PODS.

[8]  Victor Vianu,et al.  Tractable query languages for complex object databases , 1991, PODS '91.

[9]  Dirk Van Gucht,et al.  Converting nested algebra expressions into flat algebra expressions , 1992, TODS.

[10]  Michael Kifer,et al.  Querying object-oriented databases , 1992, SIGMOD '92.

[11]  Gabriel M. Kuper,et al.  A new approach to database logic , 1984, PODS.

[12]  Gabriel M. Kuper,et al.  The logical data model , 1993, TODS.

[13]  Marc H. Scholl,et al.  Theoretical Foundation of Algebraic Optimization Utilizing Unnormalized Relations , 1986, ICDT.

[14]  David Jordan,et al.  The Object Database Standard: ODMG 2.0 , 1997 .

[15]  Andreas Renner XML data and object databases: the perfect couple? , 2001, Proceedings 17th International Conference on Data Engineering.

[16]  Serge Abiteboul,et al.  Non First Normal Form Relations: An Algebra Allowing Data Restructuring , 1986, J. Comput. Syst. Sci..

[17]  Michael Stonebraker,et al.  Object-Relational DBMSs: Tracking the Next Great Wave , 1998 .

[18]  Latha S. Colby A recursive algebra for nested relations , 1990, Inf. Syst..

[19]  Barry E. Jacobs,et al.  On Database Logic , 1982, JACM.

[20]  Kotagiri Ramamohanarao,et al.  Multiple Path Join for Nested Relational Databases , 1994, Australasian Database Conference.

[21]  Anne Verroust-Blondet,et al.  VERSO: A Database Machine Based On Nested Relations , 1987, NF².

[22]  Catriel Beeri,et al.  The power of languages for the manipulation of complex values , 1995, The VLDB Journal.

[23]  J W Ballard,et al.  Data on the web? , 1995, Science.

[24]  Henry F. Korth Optimization of Object-Retrieval Queries , 1988, OODBS.

[25]  Y. Jan Algebraic optimization for nested relations , 1990, Twenty-Third Annual Hawaii International Conference on System Sciences.

[26]  Gabriel M. Kuper,et al.  Logic programming with sets , 1987, PODS '87.

[27]  Frank Shou-Cheng Tseng,et al.  An automatic load/extract scheme for XML documents through object-relational repositories , 2002, J. Syst. Softw..

[28]  Latha S. Colby A recursive algebra and query optimization for nested relations , 1989, SIGMOD '89.

[29]  Hans-Jörg Schek,et al.  A Relational Object Model , 1990, ICDT.

[30]  Gillian Dobbie,et al.  Join Operation over XML data , 2002, ISDB.

[31]  Patrick C. Fischer,et al.  Nested Relational Structures , 1986, Adv. Comput. Res..