Skip to main content

Informix SQL Statistics

SQL statistic nameDescriptionDBmarlin collects?Doc Link
durationDerived Field = SQL_TOTALTIME * 1000 Yes - DerivedN/A
executionsDerived Field = SQL_EXECUTIONS Yes - DerivedN/A
physical_readsDerived Field = SQL_PGREADS Yes - DerivedN/A
logical_readsDerived Field = SQL_BFREADS Yes - DerivedN/A
logical_writesDerived Field = SQL_BFWRITES Yes - DerivedN/A
sql_actualrowsNumber of rows returned for the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_avgiowaitsAverage amount of time that the SQL statement had to wait Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_avgtimeAverage amount of time spent running the statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_bfidxreadsNumber of index page buffer reads Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_bfreadsNumber of buffer reads for this SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_bfwritesNumber of pages modified and returned to the buffer pool Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_estcostCost associated with the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_estrowsEstimated number of rows returned for the SQL statement as predicted by the optimizer Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_executionsNumber of times the SQL statement ran Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_isamerrorRSAM/ISAM error number Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_isollevelIsolation level of the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_lockreqTotal number of locks required by this SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_lockwaitsNumber of times the SQL statement waited on locks Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_lockwttimeTime the system waited for locks during SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_logspaceAmount of space the SQL statement used in the logical log Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_maxtimeMaximum amount of time spent executing the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_num_hvarsThe number of host variables in the statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_numiowaitsNumber of times an I/O operation had to wait Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_numiteratorsNumber of iterators used by the statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_numtablesNumber of tables used in executing the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_pdqDegree of parallelism used Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=pdq-what-is
sql_pgreadsNumber of disk reads for this SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_pgwritesNumber of pages written to disk Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_rdcachePercentage of time the page was read from the buffer pool Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_rowspersecAverage number of rows (per second) produced Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_runtimeStatement execution time Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_sortdiskNumber of sorts that ran on disk Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_sortmemNumber of sorts that ran in memory Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_sorttotalTotal amount of time spent running the statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_sqlerrorSQL error number Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_sqlmemoryNumber of bytes needed to execute the SQL statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_stmtlenLength of SQL statement in bytes Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_totaliowaitsTotal amount of time that the SQL statement had to wait for I/O. This excludes any asynchronous I/O. Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_totaltimeTotal amount of time spent running the statement Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace
sql_wrcachePercentage of time a page was written to the buffer pool but not to disk Yes https://www.ibm.com/docs/en/informix-servers/14.10?topic=tables-syssqltrace

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.