This section describes how to preprocess a captured workload using the DBMS_WORKLOAD_REPLAY package. You can also use Oracle Enterprise Manager to preprocess a captured workload, as described in "Preparing a Single Database Workload Using Enterprise Manager".
To preprocess a captured workload:
Use the PROCESS_CAPTURE procedure:
BEGIN DBMS_WORKLOAD_REPLAY.PROCESS_CAPTURE (capture_dir => 'dec06'); END; /
In this example, the captured workload stored in the dec06 directory will be preprocessed.
The PROCESS_CAPTURE procedure in this example uses the capture_dir required parameter, which specifies the directory that contains the captured workload to be preprocessed.
After preprocessing a captured workload, you can replay it on the test system, as described in Replaying a Database Workload .
Oracle Database PL/SQL Packages and Types Reference for information about the DBMS_WORKLOAD_REPLAY package