STATE INITIALIZATION FOR CONTINUOUS QUERIES OVER ARCHIVED VIEWS
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 view;
creating the archived view, the archived view being identified based at least in part on a join query related to two or more archived relations associated with an application;
generating a query plan for the continuous query;
identifying a view root operator in the archived view, the view root operator being identified as a join operator in the archived view;
identifying a query operator in the query plan that topologically precedes the view root operator;
constructing an archiver query for the identified query operator that topologically precedes the view root operator;
executing the archiver query to obtain a result set of data records related to the application; and
generating a snapshot output of one or more data values related to the application based at least in part on the result set of data records related to the application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method may include receiving a continuous query identified by an archived view. The method may also include creating the archived view, the archived view identified by a join query related to two or more archived relations associated with an application and/or generating a query plan for the continuous query. The method may also include identifying a view root operator in the archived view, the view root operator identified as a join operator in the archived view and/or identifying a query operator in the query plan that topologically precedes the view root operator. Further, the method may include constructing an archiver query for the identified query operator that topologically precedes the view root operator, executing the archiver query to obtain a result set of data records related to the application, and/or generating a snapshot output of one or more data values related to the application.
80 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 view; creating the archived view, the archived view being identified based at least in part on a join query related to two or more archived relations associated with an application; generating a query plan for the continuous query; identifying a view root operator in the archived view, the view root operator being identified as a join operator in the archived view; identifying a query operator in the query plan that topologically precedes the view root operator; constructing an archiver query for the identified query operator that topologically precedes the view root operator; executing the archiver query to obtain a result set of data records related to the application; and generating a snapshot output of one or more data values related to the application based at least in part on the result set of data records related to the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 12)
-
-
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 view; instructions that cause the one or more computer systems to create the archived view, the archived view being identified based at least in part on a join query related to two or more archived relations associated with an application; instructions that cause the one or more computer systems to identify a view root operator in the archived view, the view root operator being identified as a join operator in the archived view; instructions that cause the one or more computer systems to identify a query operator in a query plan for the continuous query that topologically precedes the view root operator; instructions that cause the one or more computer systems to construct an archiver query for the identified query operator that topologically precedes the view root operator; and instructions that cause the one or more computer systems to execute the archiver query to obtain a result set of data records related to the application. - View Dependent Claims (10, 11, 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 view; create the archived view, the archived view being identified based at least in part on a join query related to two or more archived relations associated with an application; receive a continuous query, the continuous query being identified based at least in part on the archived view; generate a query plan for the continuous query; identify a view root operator in the archived view, the view root operator being identified as a join operator in the archived view; identify a query operator in the query plan that topologically precedes the view root operator, construct an archiver query for the identified query operator that topologically precedes the view root operator; execute the archiver query to obtain a result set of data records related to the application; and generate a snapshot output of one or more data values related to the application based at least in part on the result set of data records related to the application. - View Dependent Claims (17, 18, 19, 20)
-
Specification