Dbvisit Replicate can collect profiling or performance statistics information which will assist Dbvisit support to diagnose performance issues.
Profiling can be turned on for either MINE, APPLY or both.
To turn on profiling:
MINE
- Shutdown the MINE process
- Edit the *-MINE.ddc DDC file.
Add the following line to the DDC file (give full path name):
memory_set PROFILER /home/oracle/..../prof_%S.%E
- Restart the MINE process
- Wait for a few log switches.
- Zip and upload the resulting file to Dbvisit Support
Turn off the profiling with by removing the profiler command OR adding a comment in front of the line in the DDC file:
# memory_set PROFILER /home/oracle/..../prof_%S.%E
- Stop and restart the MINE process
APPLY
- Shutdown the APPLY process
- Edit the *-APPLY.ddc DDC file.
Add the following line to the DDC file (give full path name):
memory_set PROFILER /home/oracle/..../prof_%S.%E memory_set _THREADED_OCI NO
- Restart the APPLY process
- Wait for a few log switches.
- Zip and upload the resulting file to Dbvisit Support
Turn off the profiling with by removing the profiler command OR adding a comment in front of the line in the DDC file:
# memory_set PROFILER /home/oracle/..../prof_%S.%E # memory_set _THREADED_OCI NO
Stop and restart the APPLY process
In some cases, sub profiling can also be enabled to obtain finer grained profiling information. Please check with Dbvisit support before enabling this.
memory_set _SUBPROFILER=YES
Please see Configuration Variable Reference for more information on setting PROFILER.