1. A computer-implemented method for detecting occurrence of an event in a database, comprising: restoring a copy of at least a portion of the database to a point prior to occurrence of an event; translating redo log records that describe changes to the database into statements that reflect database operations that are capable of causing the changes to the database; generating a mechanism for detecting the event based on execution of the statements; and causing the mechanism to detect the event by executing the statements.