Skip to main content

Oracle SQL Statistics

SQL statistics nameDescriptionDBmarlin collects?Doc Link
DURATIONDerived field = elapsed_time / 1000 Yes - derivedN/A
CPU_TIME_MILLISECONDSDerived field = cpu_time / 1000 Yes - derivedN/A
PHYSICAL_READSDerived field = phycical_read_requests Yes - derivedN/A
LOGICAL_READSDerived field = buffer_gets Yes - derivedN/A
LOGICAL_WRITESDerived field = physical_write_requests Yes - derivedN/A
PLAN_HASH_VALUENumeric representation of the current SQL plan for this cursor Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PARSE_CALLSNumber of parse calls for all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
DISK_READSNumber of disk reads for all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
DIRECT_WRITESNumber of direct writes for all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
DIRECT_READSNumber of direct reads for all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
BUFFER_GETSNumber of buffer gets for all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
ROWS_PROCESSEDTotal number of rows the parsed SQL statement returns Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
SERIALIZABLE_ABORTSNumber of times the transaction failed to serialize, producing ORA-08177 errors, per cursor Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
FETCHESNumber of fetches associated with the SQL statement Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
EXECUTIONSNumber of executions that took place on this object since it was brought into the library cache Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
END_OF_FETCH_COUNTNumber of times this cursor was fully executed since the cursor was brought into the library cache Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
LOADSNumber of times the object was either loaded or reloaded Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
VERSION_COUNTnumber of cursors present in the cache with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
INVALIDATIONSNumber of times this child cursor has been invalidated Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PX_SERVERS_EXECUTIONSTotal number of executions performed by parallel execution servers Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
CPU_TIMECPU time (in microseconds) used by this cursor for parsing, executing, and fetching Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
ELAPSED_TIMEElapsed time (in microseconds) used by this cursor for parsing, executing, and fetching Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
AVG_HARD_PARSE_TIMEAverage hard parse time (in microseconds) used by this cursor Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
APPLICATION_WAIT_TIMEApplication wait time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
CONCURRENCY_WAIT_TIMEConcurrency wait time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
CLUSTER_WAIT_TIMECluster wait time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
USER_IO_WAIT_TIMEUser I/O wait time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PLSQL_EXEC_TIMEPL/SQL execution time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
JAVA_EXEC_TIMEJava execution time (in microseconds) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
SORTSNumber of sorts that were done for the child cursor Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
SHARABLE_MEMTotal shared memory (in bytes) currently occupied by all cursors with this SQL text and plan Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
TOTAL_SHARABLE_MEMTotal shared memory (in bytes) occupied by all cursors with this SQL text and plan if they were to be fully loaded in the shared pool (that is, cursor size) Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
TYPECHECK_MEMTypecheck memory Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
IO_CELL_OFFLOAD_ELIGIBLE_BYTESNumber of I/O bytes which can be filtered by the Exadata storage system Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
IO_INTERCONNECT_BYTESNumber of I/O bytes exchanged between Oracle Database and the storage system Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PHYSICAL_READ_REQUESTSNumber of physical read I/O requests issued by the monitored SQL Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PHYSICAL_READ_BYTESNumber of bytes read from disks by the monitored SQL Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PHYSICAL_WRITE_REQUESTSNumber of physical write I/O requests issued by the monitored SQL Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
PHYSICAL_WRITE_BYTESNumber of bytes written to disks by the monitored SQL Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
EXACT_MATCHING_SIGNATURESignature used when the CURSOR_SHARING parameter is set to EXACT Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
FORCE_MATCHING_SIGNATURESignature used when the CURSOR_SHARING parameter is set to FORCE Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
IO_CELL_UNCOMPRESSED_BYTESNumber of uncompressed bytes (that is, size after decompression) that are offloaded to the Exadata cells Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
IO_CELL_OFFLOAD_RETURNED_BYTESNumber of bytes that are returned by Exadata cell through the regular I/O path Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
CON_IDThe ID of the container to which the data pertains Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
CON_DBIDThe database ID of the PDB Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
OBSOLETE_COUNTNumber of times that a parent cursor became obsolete Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
AVOIDED_EXECUTIONSNumber of executions attempted on this object, but prevented due to the SQL statement being in quarantine Yes https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQLSTATS.html
SQL_TEXTFirst thousand characters of the SQL text for the current cursor Yes Not a statistic
SQL_FULLTEXTFull text for the SQL statement exposed as a CLOB column. The full text of a SQL statement can be retrieved using this column instead of joining with the V$SQLTEXT view. No Not a statistic
SQL_IDSQL identifier of the parent cursor in the library cache Yes Not a statistic
LAST_ACTIVE_TIMELast time the statistics of a contributing cursor were updated No Not a statistic
LAST_ACTIVE_CHILD_ADDRESSAddress of the contributing cursor that last updated these statistics No Not a statistic

Search online

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.