DocumentCode :
2848327
Title :
XML views as integrity constraints and their use in query translation
Author :
Krishnamurthy, Rajasekar ; Kaushik, Raghav ; Naughton, Jeffrey F.
Author_Institution :
IBM Almaden Res. Center, San Jose, CA, USA
fYear :
2005
fDate :
5-8 April 2005
Firstpage :
693
Lastpage :
704
Abstract :
The SQL queries produced in XML-to-SQL query translation are often unnecessarily complex, even for simple input XML queries. In this paper we argue that relational systems can do a better job of XML-to-SQL query translation with the addition of a simple new constraint, which we term the "lossless from XML" constraint. Intuitively, this constraint states that a given relational data set resulted from the shredding of an XML document that conformed to a given schema. We illustrate the power of this approach by giving an algorithm that exploits the "lossless from XML" constraint to translate path expression queries into efficient SQL, even in the presence of recursive XML schemas. We argue that this approach is likely to be simpler and more effective than the current state of the art in optimizing XML-to-SQL query translation, which involves identifying and declaring multiple complex relational constraints and then reasoning about relational query containment in the presence of these constraints.
Keywords :
SQL; XML; data integrity; query processing; relational databases; XML document; XML views; XML-to-SQL query translation; data integrity constraints; path expression queries; recursive XML schema; relational data set; relational systems; Constraint optimization; Constraint theory; Data engineering; Relational databases; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2005. ICDE 2005. Proceedings. 21st International Conference on
ISSN :
1084-4627
Print_ISBN :
0-7695-2285-8
Type :
conf
DOI :
10.1109/ICDE.2005.157
Filename :
1410185
Link To Document :
بازگشت