Efficient partitioning technique while managing large XML documents
First Claim
Patent Images
1. A method, comprising:
- reading into a buffer a portion of an XML document;
before reading into said buffer the entire XML document;
reading a certain portion of said XML document;
based on said certain portion of said XML document, determining that said XML document should be stored within a certain partition of a database table;
in response to determining that said XML document should be stored within a certain partition of a database table;
storing a portion of the XML document stored in the buffer in the partition; and
reading and storing a remainder of the XML document in the partition.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is provided to efficiently evaluate an expression to determine the partition key for an XML document stored in a database without the entire XML document first being stored in temporary memory storage. The partition key is determined using streaming evaluation or incrementally using a DOM node tree as a portion of the document is read and stored in the buffer. The XML document is stored in the partition using the read portion of the document stored in the buffer and the remaining portion from the original source.
-
Citations
22 Claims
-
1. A method, comprising:
-
reading into a buffer a portion of an XML document; before reading into said buffer the entire XML document; reading a certain portion of said XML document; based on said certain portion of said XML document, determining that said XML document should be stored within a certain partition of a database table; in response to determining that said XML document should be stored within a certain partition of a database table; storing a portion of the XML document stored in the buffer in the partition; and reading and storing a remainder of the XML document in the partition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
9. A method, comprising:
-
a database system reading into a buffer a portion of an XML document; before reading into said buffer the entire XML document; said database system computing an expression based on partition key data in the portion of said XML document to generate a partition key value; wherein said partition key value is associated with a partition of a partitioned database table; said database system storing the portion of the XML document stored in the buffer in the partition; and said database system reading and storing a remainder of the XML document in the partition. - View Dependent Claims (10, 11, 20, 21, 22)
-
Specification