System, method, and computer program product for querying XML documents using a relational database system
First Claim
1. A method for querying XML documents in a relational database system, comprising the steps of:
- creating an XML document view;
creating relational tables for storing XML documents using relational schema;
shredding said XML documents and storing said XML documents as rows in said relational tables according to said relational schema;
generating a reconstruction view over said relational tables to define how said shredded XML documents are to be virtually reconstructed; and
processing queries over said stored XML documents as queries over said reconstruction view.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique enabling querying of XML documents in a relational database system via a reconstruction view allowing XML documents to be queried as though XML views of relational data. A single query processor can be used with all relational schema generation methods (whether or not using XML schema information) to seamlessly query across XML documents, relational data, and XML views of relational data; no special purpose query processor is required. The technique creates an XML document view, creates relational tables for storing XML documents using relational schema, shreds the XML documents and stores the XML documents as rows in the relational tables according to the relational schema, generates a reconstruction view over the relational tables to define how the shredded documents are to be virtually reconstructed, and processes queries over the stored XML documents as queries over the reconstruction view.
-
Citations
19 Claims
-
1. A method for querying XML documents in a relational database system, comprising the steps of:
-
creating an XML document view;
creating relational tables for storing XML documents using relational schema;
shredding said XML documents and storing said XML documents as rows in said relational tables according to said relational schema;
generating a reconstruction view over said relational tables to define how said shredded XML documents are to be virtually reconstructed; and
processing queries over said stored XML documents as queries over said reconstruction view. - View Dependent Claims (2, 3, 4, 5, 6, 9)
-
-
7. A computer program product for querying XML documents in a relational database system, comprising a computer readable storage medium having computer readable program means embodied in said medium, said computer readable program means comprising:
-
computer readable program means for creating an XML document view;
computer readable program means for creating relational tables for storing XML documents using relational schema;
computer readable program means for shredding said XML documents and storing said XML documents as rows in said relational tables according to said relational schema;
computer readable program means for generating a reconstruction view over said relational tables to define how said shredded XML documents are to be virtually reconstructed; and
computer readable program means for processing queries over said stored XML documents as queries over said reconstruction view. - View Dependent Claims (8, 10, 11, 12)
-
-
13. A general purpose computer including a data storage device with a computer usable medium having computer readable program means for querying XML documents in a relational database system, comprising:
-
computer readable program means for creating an XML document view;
computer readable program means for creating relational tables for storing XML documents using relational schema;
computer readable program means for shredding said XML documents and storing said XML documents as rows in said relational tables according to said relational schema;
computer readable program means for generating a reconstruction view over said relational tables to define how said shredded XML documents are to be virtually reconstructed; and
computer readable program means for processing queries over said stored XML documents as queries over said reconstruction view. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A system for querying XML documents in a relational database system, comprising:
-
means for creating an XML document view;
means for creating relational tables for storing XML documents using relational schema;
means for shredding said XML documents and storing said XML documents as rows in said relational tables according to said relational schema;
means for generating a reconstruction view over said relational tables to define how said shredded XML documents are to be virtually reconstructed; and
means for processing queries over said stored XML documents as queries over said reconstruction view.
-
Specification