×

State initialization algorithm for continuous queries over archived relations

  • US 9,361,308 B2
  • Filed: 09/25/2013
  • Issued: 06/07/2016
  • Est. Priority Date: 09/28/2012
  • Status: Active Grant
First Claim
Patent Images

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 set of one or more query operators in the physical query plan;

    constructing a set of one or more archiver queries corresponding to the set of one or more identified query operators based at least in part on the identifying;

    combining the set of one or more archiver queries to generate a combined archiver query;

    executing the combined archiver query to obtain a result set of data records related to the application;

    initializing a state of the one or more identified query operators based at least in part on the result set of data records, the initializing comprising constructing a list of tuples for the one or more identified query operators from the result set of data records;

    generating a snapshot output of one or more data values related to the application based at least in part on the state of the one or more identified query operators; and

    processing incoming real-time events related to the application based at least in part on the snapshot output of the one or more data values.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×