6. A 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 computer systems to receive a continuous query, the continuous query being identified based at least in part on an archived relation associated with an application; instructions that cause the one or more computer systems to construct a set of one or more archiver queries for a set of one or more query operators identified in a physical query plan for the continuous query; instructions that cause the one or more computer systems to combine the set of one or more archiver queries to generate a combined archiver query; instructions that cause the one or more computer systems to execute the combined archiver query to obtain a result set of data records related to the application; instructions that cause the one or more computer systems to construct a list of tuples for the one or more identified query operators from the result set of data records; instructions that cause the one or more computer systems to initialize the state of the identified one or more query operators based at least on the list of tuples; instructions that cause the one or more computer systems to generate a snapshot output of the one or more data values related to the application based at least in part on the list of tuples; and instructions that cause the one or more computer systems to process incoming real-time events related to the application based at least in part on the snapshot output of the one or more data values.
11. The computer-readable storage medium of claim 6 , further comprising instructions that cause the one or more computer systems to generate a combined query plan based on identifying a second query operator in the continuous query executing in the system as being the same type as the query operator identified in the physical query plan.