Join operations 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 identifying an archived view, the archived view identifying a join operation between a fact relation and a dimension relation;
generating a query plan for the continuous query;
initializing a state of an operator in the query plan corresponding to the dimension relation;
identifying if the state of the operator identifies an event that detects a change to the dimension relation;
re-starting the continuous query based at least in part on the event that detects the change to the dimension relation;
identifying a view root operator in the archived view;
constructing an archiver query for the operator, the operator topologically preceding the view root operator;
executing the archiver query to obtain a result set of data records related to an 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 continuous query may be received, the continuous query being identified based at least in part on an archived view. The archived view may be created and/or identified based at least in part on a join query related to two or more archived relations associated with an application, at least one of the two or more archived relations being identified as a dimension relation. A query plan for the continuous query may be generated. A join operator in the query plan may be identified based at least in part on the dimension relation. A state of an operator corresponding to the dimension relation may be initialized. It may be identified if the state of the operator identifies an event that detects a change to the dimension relation. The continuous query may be re-started based at least in part on the event that detects the change to the dimension relation.
509 Citations
15 Claims
-
1. A computer-implemented method, comprising:
-
receiving, by a computer system configured to execute computer-executable instructions, a continuous query, the continuous query identifying an archived view, the archived view identifying a join operation between a fact relation and a dimension relation; generating a query plan for the continuous query; initializing a state of an operator in the query plan corresponding to the dimension relation; identifying if the state of the operator identifies an event that detects a change to the dimension relation; re-starting the continuous query based at least in part on the event that detects the change to the dimension relation; identifying a view root operator in the archived view; constructing an archiver query for the operator, the operator topologically preceding the view root operator; executing the archiver query to obtain a result set of data records related to an 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. A non-transitory 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 processors to receive a continuous query, the continuous query identifying an archived view, the archived view identifying a join operation between a fact relation and a dimension relation; instructions that cause the one or more processors to generate a query plan for the continuous query; instructions that cause the one or more processors to initialize a state of an operator in the query plan corresponding to the dimension relation; instructions that cause the one or more processors to identify if the state of the operator identifies an event that detects a change to the dimension relation; and instructions that cause the one or more processors to re-start the continuous query based at least in part on the event that detects the change to the dimension relation; instructions that cause the one or more processors to identify a view root operator in the archived view; instructions that cause the one or more processors to construct an archiver query for the operator, the operator topologically preceding the view root operator; instructions that cause the one or more processors to execute the archiver query to obtain a result set of data records related to an application; and instructions that cause the one or more processors to 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 (7, 8, 9, 10, 11)
-
-
12. 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 identifying an archived view, the archived view identifying a join operation between a fact relation and a dimension relation; generate a query plan for the continuous query; initialize a state of an operator in the query plan corresponding to the dimension relation; identify if the state of the operator identifies an event that detects a change to the dimension relation; and re-start the continuous query based at least in part on the event that detects the change to the dimension relation; identify a view root operator in the archived view; construct an archiver query for the operator, the operator topologically preceding the view root operator; execute the archiver query to obtain a result set of data records related to an 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 (13, 14, 15)
-
Specification