Systems and Methods for Managing Queries
First Claim
1. A method for managing a query, the method comprising:
- receiving via a computer readable storage medium an iterator model plan based on the query;
transforming through the computer readable storage medium a first operator of the iterator model plan and a first operator variable of the first operator based on an analysis of the iterator model plan and a shared continuous query plan;
generating a continuous query operator based on the transformed first operator variable and the transformed first operator; and
providing the generated continuous query operator to the shared continuous query plan.
4 Assignments
0 Petitions
Accused Products
Abstract
A streaming database management system may provide support for creating a new continuous query operator for on-the-fly addition of a new query, e.g., a new SQL query and/or new continuous query operator, into a shared continuous query plan. Alternatively, the streaming database management system may associate the new query on-the-fly with an existing continuous query operator, such as a relational operator and expression evaluator, to reuse the existing continuous query operator. In some embodiments, multiple operators are grouped for on-the-fly addition to the shared continuous query plan. Alternatively, the streaming database management system may identify a group of multiple operators in the shared continuous query plan for reuse by the new query.
65 Citations
33 Claims
-
1. A method for managing a query, the method comprising:
-
receiving via a computer readable storage medium an iterator model plan based on the query; transforming through the computer readable storage medium a first operator of the iterator model plan and a first operator variable of the first operator based on an analysis of the iterator model plan and a shared continuous query plan; generating a continuous query operator based on the transformed first operator variable and the transformed first operator; and providing the generated continuous query operator to the shared continuous query plan. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for managing a query, the method comprising:
-
receiving via a computer readable storage medium an iterator model plan and a local range table based on the query; transforming through the computer readable storage medium a first operator variable of a first operator in the iterator model plan based on an analysis of the iterator model plan and a shared continuous query plan; identifying a continuous query operator based on the transformed first operator variable and the transformed first operator; and providing the query to a list of queries associated with the identified continuous query operator. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
-
22. A system comprising:
-
a processor; and a computer readable storage medium having instructions for execution by the processor which causes the processor to manage a query, wherein the processor is coupled to the computer readable storage medium, the processor executing the instructions on the computer readable storage medium to; receive an iterator model plan based on the query, transform an operator of the iterator model plan and an operator variable of the operator based on an analysis of the iterator model plan and a shared continuous query plan, generate a continuous query operator based on the transformed operator variable and the transformed operator, and provide the generated continuous query operator to the shared continuous query plan. - View Dependent Claims (23, 24, 25, 26, 27)
-
-
28. A system for managing a query, the system comprising:
-
a processor; and a computer readable storage medium having instructions for execution by the processor which causes the processor to manage a query, wherein the processor is coupled to the computer readable storage medium, the processor executing the instructions on the computer readable storage medium to; receive an iterator model plan based on the query, transform an operator variable of an operator of the iterator model plan based on an analysis of the iterator model plan and a shared continuous query plan, and identify a continuous query operator of the shared continuous query plan, the continuous query operator configured to receive and execute the query. - View Dependent Claims (29, 30, 31, 32, 33)
-
Specification