Secondary index and indexed view maintenance for updates to complex types
First Claim
Patent Images
1. A method of processing a data modification statement, comprising:
- receiving a data modification statement;
determining which fields of a data structure are affected by the data modification statement; and
modifying a query plan in response to the fields of the data structure that are affected by the data modification statement.
2 Assignments
0 Petitions
Accused Products
Abstract
Pursuant to receipt of a data modification command or statement, such as an Update command, it is determined which fields in a data structure, such as a UDT, computed column, indexed view, or index, for example, will be changed as a result of the command. Only those fields that are affected by the command will be changed. Thus, changes are propagated to only to those dependent data structures whose content is being modified. Tree representations are used to facilitate the determination as to whether a subfield in a hierarchy is changed.
-
Citations
27 Claims
-
1. A method of processing a data modification statement, comprising:
-
receiving a data modification statement;
determining which fields of a data structure are affected by the data modification statement; and
modifying a query plan in response to the fields of the data structure that are affected by the data modification statement. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for processing a data modification statement, comprising:
-
a front end that receives a data modification statement; and
a query optimizer that determines which fields of a data structure are affected by the data modification statement, and modifies a query plan responsive to the fields of the data structure that are affected by the data modification statement. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer-readable medium having stored thereon a data structure, comprising:
-
a first data field containing a first tree representation of a data modification statement; and
a second data field containing a second tree representation of data subfields. - View Dependent Claims (23, 24, 25, 26, 27)
-
Specification