×

Managing continuous queries in the presence of subqueries

  • US 9,990,402 B2
  • Filed: 03/14/2013
  • Issued: 06/05/2018
  • Est. Priority Date: 09/28/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a memory storing a plurality of instructions; and

    one or more processors configured to access the memory, wherein the one or more processors are further configured to execute the plurality of instructions to at least;

    identify a continuous query;

    determine whether the continuous query includes one or more continuous subqueries; and

    when it is determined that the continuous query includes a continuous subquery of the one or more continuous subqueries;

    process the continuous subquery to obtain first results from a time-varying relation associated with a data stream, the time-varying relation comprising a bounded window on the data stream and a same schema for each event of the data stream;

    store only a subset of the first results from the continuous subquery in a dimension table when the subset of the first results is associated with a low probability of change;

    issue the continuous query based at least in part on the dimension table corresponding to the continuous subquery;

    receive a runtime exception;

    determine whether the runtime exception is a known runtime exception that is understood by a service based at least in part on a format of the runtime exception;

    when the format of the runtime exception is the known runtime exception;

    identify that a change to the dimension table has occurred;

    refresh the dimension table by reprocessing the continuous subquery based at least in part on the runtime exception; and

    reissue the continuous query to obtain second results after the dimension table is refreshed;

    store the second results of the reissued continuous query in a data object;

    implement a pattern match query on the second results stored in the data object;

    perform trend analysis on the pattern match query results;

    provide, for display by a user interface, a mapping of the trend analysis to a visualization;

    identify a pattern corresponding to a performance indicator from the trend analysis; and

    provide an alert in the user interface based at least in part on the pattern identified from the trend analysis.

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