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):
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 command:
SET PROFILER OFF
- 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):
SET PROFILER /home/oracle/..../prof_%S.%E 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 command:
SET PROFILER OFF set _THREADED_OCI YES
Restart the Apply process
Only set " _THREADED_OCI YES" if it was previously set to YES.
Check this with "show _THREADED_OCI" prior to step 1
In some cases, sub profiling can also be enabled to obtain finer grained profiling information. Please check with Dbvisit support before enabling this.
set _SUBPROFILER=YES
Please see Configuration Variable Reference for more information on setting PROFILER.