OPERATOR SHARING FOR CONTINUOUS QUERIES OVER ARCHIVED RELATIONS
First Claim
1. A computer-implemented method, comprising:
- receiving, by a computer system configured to execute computer-executable instructions, a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application;
generating a physical query plan for the continuous query;
identifying a child operator related to a parent operator in the physical query plan, the child operator being identified by the parent operator to store event information related to the application;
inserting a buffer operator between the identified child operator and the parent operator in the physical query plan;
storing the event information from the child operator in the buffer operator;
identifying a query operator in the physical query plan, the query operator being identified based at least in part on the buffer operator;
determining, based at least in part on the buffer operator, that the query operator identified in the physical query plan is a same type as a second query operator in a second continuous query concurrently executing; and
generating a combined query plan based at least in part on the query operator identified in the physical query plan being the same type as the second query operator in the second continuous query.
1 Assignment
0 Petitions
Accused Products
Abstract
A continuous query identified by an archived relation of an application may be received. A physical query plan may be generated for the continuous query and/or a child operator plan may be identified. A buffer operator may be inserted between the child operator and its parent operator and/or the event information from the child operator may be stored in the buffer operator. A query operator may be identified in the physical query plan. It may be determined that the query operator identified in the physical query plan is a same type as a second query operator in a second continuous query concurrently executing. Further, a combined query plan may be generated based at least in part on the query operator identified in the physical query plan being the same type as the second query operator in the second continuous query.
-
Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving, by a computer system configured to execute computer-executable instructions, a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; generating a physical query plan for the continuous query; identifying a child operator related to a parent operator in the physical query plan, the child operator being identified by the parent operator to store event information related to the application; inserting a buffer operator between the identified child operator and the parent operator in the physical query plan; storing the event information from the child operator in the buffer operator; identifying a query operator in the physical query plan, the query operator being identified based at least in part on the buffer operator; determining, based at least in part on the buffer operator, that the query operator identified in the physical query plan is a same type as a second query operator in a second continuous query concurrently executing; and generating a combined query plan based at least in part on the query operator identified in the physical query plan being the same type as the second query operator in the second continuous query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium storing computer-executable instructions that, when executed by one or more computer systems, configure the one or more computer systems to perform at least:
-
instructions that cause the one or more computer systems to receive a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; instructions that cause the one or more computer systems to identify a child operator related to a parent operator in a physical query plan generated for the continuous query, the child operator being identified by the parent operator to store event information related to the application; instructions that cause the one or more computer systems to insert a buffer operator between the identified child operator and the parent operator in the physical query plan; instructions that cause the one or more computer systems to determine, based at least in part on the buffer operator, that a query operator identified in the physical query plan is a same type as a second query operator in a second continuous query concurrently executing; and instructions that cause the one or more computer systems to generate a combined query plan based at least in part on the query operator identified in the physical query plan being the same type as the second query operator in the second continuous query. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A system, comprising:
-
a memory storing a plurality of instructions; and a processor configured to access the memory, wherein the processor is further configured to execute the plurality of instructions to at least; receive a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; generate a physical query plan for the continuous query; identify a child operator related to a parent operator in the physical query plan, the child operator being identified by the parent operator to store event information related to the application; insert a buffer operator between the identified child operator and the parent operator in the physical query plan; store the event information from the child operator in the buffer operator; identify a query operator in the physical query plan, the query operator being identified based at least in part on the buffer operator, determine, based at least in part on the buffer operator, that the query operator identified in the physical query plan is a same type as a second query operator in a second continuous query concurrently executing; and generate a combined query plan based at least in part on the query operator identified in the physical query plan being the same type as the second query operator in the second continuous query. - View Dependent Claims (17, 18, 19, 20)
-
Specification