Controlling Output Timing

Use ouput clauses to delay or regulate the processing of output from a query.

Normally, you can expect output from a query to be delivered immediately upon execution. When a row comes into an input stream, all queries that act upon that stream will execute and, if appropriate, produce output based on that incoming row. Output rows that are produced as a result of query execution will have the timestamp of the incoming row and those output rows, if directed to other queries, will be acted upon immediately. Thus, all actions that act on the incoming row or any of its derived results will appear to occur simultaneously.

However, it may be appropriate to delay or regulate the processing of output from a query, so that "downstream" actions on the results of a query do not occur at the same time. Sybase CEP has a number of ways to control and regulate the processing of query output:



Created March 8, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com