Retrieving Statistics with isc database info()
Go Up to Database Statistics and Connection Monitoring
InterBase includes programming facilities to gather performance timings and database operation statistics.
You can use the API function isc_database_info( )
to retrieve statistics, by specifying one or more of the following request buffer items:
Request Buffer Item | Result Buffer Contents |
---|---|
|
Number of reads from the memory buffer cache; calculated since the InterBase server started. |
|
Number of writes to the memory buffer cache; calculated since the InterBase server started. |
|
Number of page reads; calculated since the InterBase server started. |
|
Number of page writes; calculated since the InterBase server started. |
|
Number of removals of record versions per table since the current database attachment started. |
|
Number of row deletions
|
|
Number of removals of a record and all of its ancestors, for records whose deletions have been committed
|
|
Number of inserts into the database
|
|
Number of removals of old versions of fully mature records (records committed, resulting in older-ancestor-versions no longer being needed)
|
|
Number of reads done via an index
|
|
Number of sequential database reads, that is, the number of sequential table scans (row reads)
|
|
Number of row updates
|
See the API Guide for information on request buffers, and details of using this API call.