Patent ID: 8438144

Claim:
A method for replaying captured workload data against a database by sending database commands from the captured workload data on a set of database connections to a set of database instances, the method comprising: while replaying the captured workload data against the database: while the database is on or after one or more first database states but before one or more second database states, keeping at least one database connection of the set of database connections available for executing one or more first database commands that are associated with one or more database states that are on or after the one or more first database states but before the one or more second database states by preventing one or more second database commands from using the at least one database connection without preventing the one or more second database commands from using one or more other database connections, wherein the one or more second database commands are associated with one or more database states that are on or after the one or more second database states; and detecting that the database is on or after the one or more second database states, and, in response to detecting that the database is on or after the one or more second database states, using one or more available database connections to send at least one of the one or more second database commands without preventing the at least one of the one or more second database commands from using the at least one database connection; wherein the method is performed by one or more computing devices.