|
2.50.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--interbase.interclient.DatabaseStatistics
Statistics about database page reads and writes to memory and disk, and table operation counts on the database.
Several connections may act on a single database, sharing the same database page cache, and operating on the same tables. So these statistics are database-wide, and include the operation counts of all connections to the database collectively.
Counting begins at zero from the moment the call to getStatistics
is made.
DatabaseMetaData.getStatistics()
,
ServerManager.getStatisticsText(java.lang.String, java.util.Map)
Method Summary | |
int |
getBackoutCount(String table)
Number of removals of record versions from table . |
int |
getDeleteCount(String table)
Number of database record deletes from table . |
int |
getDiskReads()
Number of database page reads from disk. |
int |
getDiskWrites()
Number of database page writes to disk. |
int |
getExpungeCount(String table)
Number of removals of a record and all of its ancestors from table ,
for records whose deletions have been committed. |
int |
getIndexedReadCount(String table)
Number of table reads done via an index. |
int |
getInsertCount(String table)
Number of record inserts into table . |
int |
getMemoryReads()
Number of memory reads from cache. |
int |
getMemoryWrites()
Number of memory writes to cache. |
int |
getPurgeCount(String table)
Number of removals of old versions of fully mature records from table (records committed, resulting in older ancestor versions
no longer being needed). |
int |
getSequentialReadCount(String table)
Number of sequential table reads. |
int |
getUpdateCount(String table)
Number of table updates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getDiskReads() throws SQLException
SQLException
- if a database access error occurspublic int getDiskWrites() throws SQLException
SQLException
- if a database access error occurspublic int getMemoryReads() throws SQLException
SQLException
- if a database access error occurspublic int getMemoryWrites() throws SQLException
SQLException
- if a database access error occurspublic int getBackoutCount(String table) throws SQLException
table
.SQLException
- if a database access error occurspublic int getDeleteCount(String table) throws SQLException
table
.SQLException
- if a database access error occurspublic int getExpungeCount(String table) throws SQLException
table
,
for records whose deletions have been committed.SQLException
- if a database access error occurspublic int getIndexedReadCount(String table) throws SQLException
SQLException
- if a database access error occurspublic int getInsertCount(String table) throws SQLException
table
.SQLException
- if a database access error occurspublic int getPurgeCount(String table) throws SQLException
table
(records committed, resulting in older ancestor versions
no longer being needed).SQLException
- if a database access error occurspublic int getSequentialReadCount(String table) throws SQLException
SQLException
- if a database access error occurspublic int getUpdateCount(String table) throws SQLException
SQLException
- if a database access error occurs
|
2.50.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |