Retrieve Data Collection Information with ttIndexAdviceCaptureInfoGet
The ttIndexAdviceCaptureInfoGet built-in procedure retrieves
information about the data collected for the Index Advisor.
For both a connection-level capture and a database-level capture, only a single row is returned.
Note:
The database-level capture row can only be returned to a user with ADMIN privileges.
The ttIndexAdviceCaptureInfoGet built-in procedure captures data if:
-
The data capture was started and has not ended.
-
A previous capture that was started and stopped, and the data was not deleted.
Note:
If no capture is in progress or no data exists, then no rows are returned.
The rows returned include the following information:
-
The capture state: Returns 0 if a capture is completed. Returns 1 if a capture is still in progress.
-
The connection identifier, if appropriate.
-
The capture level and mode set for this capture.
-
The number of prepared and run statements during the capture interval.
-
The time that the capture was started and stopped.
The following shows capture information for a completed connection-level capture for 363 prepared statements and 369 run statements:
Command> call ttIndexAdviceCaptureInfoGet(); < 0, 1, 0, 0, 363, 369, 2012-07-27 11:44:08.136833, 2012-07-27 12:07:35.410993 > 1 row found.
Note:
See ttIndexAdviceCaptureInfoGet in the Oracle TimesTen In-Memory Database Reference.