The IStatistics type exposes the following members.
Properties
Name | Description | |
---|---|---|
CloseStatementCount | The number of prepared statements that were released | |
CollectionFetchCount | Global number of collections fetched | |
CollectionLoadCount | Global number of collections loaded | |
CollectionRecreateCount | Global number of collections recreated | |
CollectionRemoveCount | Global number of collections removed | |
CollectionRoleNames | The names of all collection roles | |
CollectionUpdateCount | Global number of collections updated | |
ConnectCount |
Get the global number of connections asked by the sessions
(the actual number of connections used may be much smaller depending
whether you use a connection pool or not)
| |
EntityDeleteCount | Global number of entity deletes | |
EntityFetchCount | Global number of entity fetchs | |
EntityInsertCount | Global number of entity inserts | |
EntityLoadCount | Global number of entity loads | |
EntityNames | The names of all entities | |
EntityUpdateCount | Global number of entity updates | |
FlushCount | Get the global number of flush executed by sessions (either implicit or explicit) | |
IsStatisticsEnabled | Enable/Disable statistics logs (this is a dynamic parameter) | |
OperationThreshold |
The OperationThreshold to a value greater than MinValue to enable logging of long running operations.
| |
OptimisticFailureCount | The number of StaleObjectStateExceptions that occurred | |
PrepareStatementCount | The number of prepared statements that were acquired | |
Queries | All executed query strings | |
QueryCacheHitCount | The global number of cached queries successfully retrieved from cache | |
QueryCacheMissCount | The global number of cached queries *not* found in cache | |
QueryCachePutCount | The global number of cacheable queries put in cache | |
QueryExecutionCount | Global number of executed queries | |
QueryExecutionMaxTime | The TimeSpan of the slowest query. | |
QueryExecutionMaxTimeQueryString | The query string for the slowest query. | |
SecondLevelCacheHitCount | Global number of cacheable entities/collections successfully retrieved from the cache | |
SecondLevelCacheMissCount | Global number of cacheable entities/collections not found in the cache and loaded from the database. | |
SecondLevelCachePutCount | Global number of cacheable entities/collections put in the cache | |
SecondLevelCacheRegionNames | Get all second-level cache region names | |
SessionCloseCount | Global number of sessions closed | |
SessionOpenCount | Global number of sessions opened | |
StartTime | Start time | |
SuccessfulTransactionCount | The number of transactions we know to have been successful | |
TransactionCount | The number of transactions we know to have completed |