Join operations for continuous queries over archived views

US9262479B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9262479-B2
Application numberUS-201314037171-A
CountryUS
Kind codeB2
Filing dateSep 25, 2013
Priority dateSep 28, 2012
Publication dateFeb 16, 2016
Grant dateFeb 16, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 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. 2. The computer-implemented method of claim 1 , further comprising initializing the state of the operator based at least in part on the result set of data records. 3. The computer-implemented method of claim 1 , further comprising generating the snapshot output of one or more data values related to the application based at least in part on the state of the operator. 4. The computer-implemented method of claim 1 , further comprising: traversing the query plan in topological order to identify the view root operator, the view root operator being identified by an output operator to store event information related to the application; inserting a buffer operator between the view root operator and the output operator in the query plan; and storing the event information from the view root operator in the buffer operator. 5. The computer-implemented method of claim 4 , further comprising: identifying a second query operator in a second continuous query concurrently executing as being the same type as the query operator identified in the query plan, the second continuous query being identified based at least in part on the archived view; and generating a combined query plan based at least in part on the query operator identified in the query plan being the same type as the second query operator in the second continuous query. 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. 7. The non-transitory computer-readable storage medium of claim 6 , further comprising: instructions that cause the one or more computer systems to traverse the query plan in topological order to identify the view root operator, the view root operator being identified by an output 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 view root operator and the output operator in the query plan; and instructions that cause the one or more computer systems to store the event information from the view root operator in the buffer operator. 8. The non-transitory computer-readable storage medium of claim 6 , further comprising instructions that cause the one or more computer systems to generate the snapshot output of one or more data values related to the application based at least in part on the state of the operator. 9. The non-transitory computer-readable storage medium of claim 6 , further comprising: instructions that cause the one or more computer systems to identify a second query operator in a second continuous query concurrently executing as being the same type as the query operator identified in the query plan, the second continuous query being identified based at least in part on the archived view; 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 query plan being the same type as the second query operator in the second continuous query. 10. The non-transitory computer-readable storage medium of claim 6 , further comprising instructions that cause the one or more computer systems to initialize the state of the operator based at least in part on the result set of data records. 11. The non-transitory computer-readable storage medium of claim 6 , further comprising instructions that cause the one or more computer systems to at least display 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. 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. 13. The system of claim 12 , wherein the processor is further configured to execute the plurality of instructions to at least: identify a second query operator in a continuous query concu

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9262479B2 cover?
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 c…
Who is the assignee on this patent?
Oracle Int Corp
What technology area does this patent fall under?
Primary CPC classification G06F17/30516. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).