The IStatistics type exposes the following members.

Properties

  NameDescription
Public propertyCloseStatementCount
The number of prepared statements that were released
Public propertyCollectionFetchCount
Global number of collections fetched
Public propertyCollectionLoadCount
Global number of collections loaded
Public propertyCollectionRecreateCount
Global number of collections recreated
Public propertyCollectionRemoveCount
Global number of collections removed
Public propertyCollectionRoleNames
The names of all collection roles
Public propertyCollectionUpdateCount
Global number of collections updated
Public propertyConnectCount
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)
Public propertyEntityDeleteCount
Global number of entity deletes
Public propertyEntityFetchCount
Global number of entity fetchs
Public propertyEntityInsertCount
Global number of entity inserts
Public propertyEntityLoadCount
Global number of entity loads
Public propertyEntityNames
The names of all entities
Public propertyEntityUpdateCount
Global number of entity updates
Public propertyFlushCount
Get the global number of flush executed by sessions (either implicit or explicit)
Public propertyIsStatisticsEnabled
Enable/Disable statistics logs (this is a dynamic parameter)
Public propertyOperationThreshold
The OperationThreshold to a value greater than MinValue to enable logging of long running operations.
Public propertyOptimisticFailureCount
The number of StaleObjectStateExceptions that occurred
Public propertyPrepareStatementCount
The number of prepared statements that were acquired
Public propertyQueries
All executed query strings
Public propertyQueryCacheHitCount
The global number of cached queries successfully retrieved from cache
Public propertyQueryCacheMissCount
The global number of cached queries *not* found in cache
Public propertyQueryCachePutCount
The global number of cacheable queries put in cache
Public propertyQueryExecutionCount
Global number of executed queries
Public propertyQueryExecutionMaxTime
The TimeSpan of the slowest query.
Public propertyQueryExecutionMaxTimeQueryString
The query string for the slowest query.
Public propertySecondLevelCacheHitCount
Global number of cacheable entities/collections successfully retrieved from the cache
Public propertySecondLevelCacheMissCount
Global number of cacheable entities/collections not found in the cache and loaded from the database.
Public propertySecondLevelCachePutCount
Global number of cacheable entities/collections put in the cache
Public propertySecondLevelCacheRegionNames
Get all second-level cache region names
Public propertySessionCloseCount
Global number of sessions closed
Public propertySessionOpenCount
Global number of sessions opened
Public propertyStartTime
Start time
Public propertySuccessfulTransactionCount
The number of transactions we know to have been successful
Public propertyTransactionCount
The number of transactions we know to have completed

See Also