Previous |
Next |
The replay client is a multithreaded program (an executable named wrc located in the $ORACLE_HOME/bin
directory) where each thread submits a workload from a captured session. Before replay begins, the database will wait for replay clients to connect. At this point, you need to set up and start the replay clients, which will connect to the replay system and send requests based on what has been captured in the workload.
Before starting replay clients, ensure that the:
Replay client software is installed on the hosts where it will run
Replay clients have access to the replay directory
Replay directory contains the preprocessed workload capture
Replay user has the correct user ID, password, and privileges (the replay user needs the DBA role and cannot be the SYS
user)
After these prerequisites are met, you can proceed to set up and start the replay clients using the wrc executable. The wrc executable uses the following syntax:
wrc [user/password[@server]] MODE=[value] [keyword=[value]]
The parameters user
and password
specify the username and password used to connect to the host where the wrc executable is installed. The parameter server
specifies the server where the wrc executable is installed. The parameter mode
specifies the mode in which to run the wrc executable. Possible values include replay
(the default), calibrate
, and list_hosts
. The parameter keyword
specifies the options to use for the execution and is dependent on the mode selected. To display the possible keywords and their corresponding values, run the wrc executable without any arguments.
The following sections describe the modes that you can select when running the wrc executable: