This section describes how to define replay schedules using the DBMS_WORKLOAD_REPLAY
package. For information about replay schedules, see "Defining Replay Schedules".
Before defining replay schedules, ensure that the following prerequisites are met:
All workload captures are preprocessed using the PROCESS_CAPTURE
procedure on a system running the same database version as the replay system, as described in Preprocessing a Database Workload .
All capture directories are copied to the replay directory on the replay system
Replay directory is set using the SET_REPLAY_DIRECTORY
procedure, as described in "Setting the Consolidated Replay Directory Using APIs".
Database state is not in replay mode
To define replay schedules:
Create a new replay schedule, as described in "Creating Replay Schedules Using APIs".
Add workload captures to the replay schedule, as described in "Adding Workload Captures to Replay Schedules Using APIs".
Add schedule orders to the replay schedule, as described in "Adding Schedule Orders to Replay Schedules Using APIs".
Save the replay schedule, as described in "Saving Replay Schedules Using APIs".