Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_PROFILER , 2 of 2
This function starts profiler data collection in the user's session.
There are two overloaded forms of the START_PROFILER
function; one returns the run number of the started run, as well as the result of the call. The other does not return the run number. The first form is intended for use with GUI-based tools controlling the profiler.
The first form is:
DBMS_PROFILER.START_PROFILER(run_comment IN VARCHAR2 := sysdate, run_comment1 IN VARCHAR2 :='', run_number OUT BINARY_INTEGER) RETURN BINARY_INTEGER;
The second form is:
DBMS_PROFILER.START_PROFILER(run_comment IN VARCHAR2 := sysdate, run_comment1 IN VARCHAR2 :='') RETURN BINARY_INTEGER;
This function stops profiler data collection in the user's session.
This function has the side effect of flushing data collected so far in the session, and it signals the end of a run.
DBMS_PROFILER.STOP_PROFILER RETURN BINARY_INTEGER;
This function flushes profiler data collected in the user's session. The data is flushed to database tables, which are expected to preexist.
Note: Use the |
DBMS_PROFILER.FLUSH_DATA RETURN BINARY_INTEGER;
This function pauses profiler data collection.
This function resumes profiler data collection.
This procedure gets the version of this API.
DBMS_PROFILER.GET_VERSION ( major OUT BINARY_INTEGER, minor OUT BINARY_INTEGER);
Parameter | Description |
---|---|
major |
Major version of |
minor |
Minor version of |
This function verifies that this version of the DBMS_PROFILER
package can work with the implementation in the database.
DBMS_PROFILER.INTERNAL_VERSION_CHECK RETURN BINARY_INTEGER;
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|