...
Profiling can be turned on for either MineMINE, Apply APPLY or both.
To turn on profiling:
Mine
...
There are 2 ways to turn in profiling:
- Turning on profiling without having to stop and start MINE or APPLY, OR
- Editing the DDC file and then stopping and starting the MINE/APPLY processes
MINE (without having to stop the MINE process)
Start the command console and type
No Format engine mine send memory_set PROFILER /home/oracle/..../prof_%S.%E
- Wait for a few log switches.
- Zip and upload the resulting files to Dbvisit Support. The profiler files will be in the location specified by the full path given (/home/oracle/..../prof_%S.%E)
Turn off the profiling:
No Format engine mine send memory_set PROFILER OFF
MINE (shutting down MINE)
- Shutdown the MINE process
- Edit the *-MINE.ddc DDC file.
Add the following line to the DDC file (give full path name):
No Format SETmemory_set PROFILER /home/oracle/..../prof_%S.%E
- Restart the Mine MINE process
- Wait for a few log PLOG switches.
- Zip and upload the resulting file files to Dbvisit Support. The profiler files will be in the location specified by the full path given (/home/oracle/..../prof_%S.%E)
Turn off the profiling with by removing the profiler command : OR adding a comment in front of the line in the DDC file:
No Format SET# memory_set PROFILER OFF
- Restart the Mine process
Apply
- Shutdown the Apply
/home/oracle/..../prof_%S.%E
- Stop and restart the MINE process
APPLY (without having to stop the APPLY process)
Note |
---|
Profiler can be enabled while APPLY is running but it will not collect all required performance statistics to diagnose the issue. Therefore it is not recommend to enable profiler on APPLY while it is running. |
Start the command console and type
No Format engine apply send memory_set PROFILER /home/oracle/..../prof_%S.%E
- Wait for a few log switches
- Zip and upload the resulting files to Dbvisit Support. The profiler files will be in the location specified by the full path given (/home/oracle/..../prof_%S.%E)
Turn off the profiling:
No Format engine apply send memory_set PROFILER OFF
APPLY (shutting down APPLY)
...
- Shutdown the APPLY process
- Edit the *-APPLY.ddc DDC file.
Add the following line to the DDC file (give full path name):
No Format SETmemory_set PROFILER /home/oracle/..../prof_%S.%E set _THREADED_OCI NO
- Restart the Apply APPLY process
- Wait for a few log PLOG switches.
- Zip and upload the resulting file to Dbvisit Support. The profiler files will be in the location specified by the full path given (/home/oracle/..../prof_%S.%E)
Turn off the profiling with by removing the profiler command OR adding a comment in front of the line in the DDC file:
No Format SET# memory_set PROFILER OFF set _THREADED_OCI YES
Restart the Apply process
...
Only set " _THREADED_OCI YES" if it was previously set to YES.
/home/oracle/..../prof_%S.%E
Stop and restart the APPLY process
Note | ||
---|---|---|
In some cases, sub profiling can also be enabled to obtain finer grained profiling information. Please check with Dbvisit support before enabling this.
|
Please see Configuration Variable Reference for more information on setting PROFILER.
...