JOURNAL ARTICLE

Rewriting-Based Optimization for XQuery Transformational Queries

Abstract

The modern XML query language called XQuery includes advanced facilities both to query and to transform XML data. An XQuery query optimizer should be able to optimize any query. For "querying" queries almost all techniques inherited from SQL-oriented DBMS may be applied. The XQuery transformation facilities are XML-specific and have no counterparts in other query languages. That is why XQuery transformational queries need to be optimized with novel techniques. In this paper two kinds of such techniques (namely push predicates down XML element constructors and projection of transformation) are considered. A subset of XQuery for which these techniques can be fully implemented is identified. This subset seems to be the most interesting from the practical viewpoint. Rewriting rules for this subset are proposed and the correctness of these rules is formally justified. For the rest of the language we propose solutions that work for the most of common cases or consider the problems we have encountered.

Keywords:
XQuery Computer science Query language Programming language XSLT Correctness XML XML database Information retrieval Query optimization Transformation (genetics) Rewriting Streaming XML Database World Wide Web

Metrics

16
Cited By
2.94
FWCI (Field Weighted Citation Impact)
21
Refs
0.89
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Algorithms and Data Compression
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

BOOK-CHAPTER

Semantic Optimization of XQuery by Rewriting

Philip HansonMurali Mani

Lecture notes in computer science Year: 2010 Pages: 87-95
JOURNAL ARTICLE

XQuery Query Rewriting for Query Optimization in Distributed Environments

Jong‐Hyun ParkJi-Hoon Kang

Journal:   Journal of the Korea Society of Computer and Information Year: 2009 Vol: 14 (3)Pages: 1-11
JOURNAL ARTICLE

Processing Strategy for Global XQuery Queries Based on XQuery Join Cost

Jong Hyun ParkJi-Hoon Kang

Journal:   Journal of information science and engineering Year: 2010 Vol: 26 (2)Pages: 659-672
© 2026 ScienceGate Book Chapters — All rights reserved.