Incremental maintenance of an XML index on binary XML data
First Claim
1. A machine-executed method for incrementally maintaining an index that indexes XML data, the method comprising:
- identifying a node, within the XML data, that is to be deleted in response to a DML operation;
generating a hybrid key for the node;
converting the hybrid key to an index order key;
using the index order key to locate a set of index entries, within the index, for the node and any nodes that descend from the node; and
deleting the set of index entries from the index.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are provided for incrementally maintaining an XML index built to access XML data that is encoded in binary XML form. Rather than delete and reinsert index entries of all the nodes of a modified XML document, only the index entries of the affected nodes are modified. Consequently, the order key values stored in the index may become inconsistent with the current hierarchical locations of the nodes to which the order key values correspond. Techniques are described for resolving the inconsistencies, and for addressing additional problems that result when the XML index is path-subsetted.
108 Citations
44 Claims
-
1. A machine-executed method for incrementally maintaining an index that indexes XML data, the method comprising:
-
identifying a node, within the XML data, that is to be deleted in response to a DML operation; generating a hybrid key for the node; converting the hybrid key to an index order key; using the index order key to locate a set of index entries, within the index, for the node and any nodes that descend from the node; and deleting the set of index entries from the index. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
13. A machine-executed method for incrementally maintaining an index that indexes XML data, the method comprising:
-
identifying a particular node that is to be added to the XML data in response to a DML operation; generating a hybrid key for a parent node of the particular node; converting the hybrid key to a first index order key; adding a component to the first index order key to generate a second index order key for the particular node; and storing, within the index, an index entry for the particular node; wherein the index entry includes the second index order key. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
Specification