A method for dynamically initializing a view for a streaming database
system. The method includes accessing a stream of events. An initial view
is materialized from the stream, wherein the initial view comprises a
dynamically defined view of the stream of events from the streaming
database system. The method also includes processing a plurality of
recent view snapshots from the initial view. A view state derived from
each of the recent view snapshots is generated. An updated view is
subsequently maintained in accordance with the view state, wherein the
updated view incorporates new events of the stream.