Title :
Minimization and group-by detection for nested XQueries
Author :
Deutsch, Alin ; Papakonstantinou, Yannis ; Xu, Yu
Author_Institution :
California Univ., San Diego, La Jolla, CA, USA
fDate :
30 March-2 April 2004
Abstract :
We extend tree pattern queries into group-by normal form tree pattern (GNFTP) queries, which are nested, perform arbitrary joins, and freely mix bag and set semantics. Here, we describe a subset of XQuery, called OptXQuery and provide a normalization algorithm that rewrites any OptXQuery into a GNFTP query. Key logical query optimizations can be solved for GNFTP/OptXQuery. As a proof-of-concept but also for its own importance and value in query optimization, we developed and evaluated a query minimization algorithm for GNFTP. The rich features of GN-FTP/OptXQuery create key challenges that fundamentally extend the prior work on the problems of minimizing conjunctive queries. An important application of this technique is group-by detection. We extend GNFTP into extGNFTP to capture XQueries outside the OptXQuery set. The extGNFTP notation provides the logical plan optimization framework of our XQuery processor.
Keywords :
query processing; tree data structures; GNFTP query; OptXQuery; XQuery processor; group-by normal form tree pattern query; logical query optimization; nested XQuery; query minimization algorithm; Books; Data engineering; Data models; Minimization methods; Navigation; Query processing; XML;
Conference_Titel :
Data Engineering, 2004. Proceedings. 20th International Conference on
Print_ISBN :
0-7695-2065-0
DOI :
10.1109/ICDE.2004.1320069