Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.6. Hibernate - Statistics Service

Overview

Table 3.2167. Overview

Description:Statistics for Hibernate
Singleton: no
Plugin:Hibernate

Child Resource Types

Connection Properties

Table 3.2168. 

NameDescriptionRequiredInternal Name
Object Name  yes objectName
Name Template  yes nameTemplate
Description Template  yes descriptionTemplate
Applicationthe Hibernate application name yes application

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

Table 3.2169. Metrics

NameTypeDescriptionInternal Name
Entity Insert CountmeasurementThe global number of entity inserts since the statistics were resetEntityInsertCount
Entity Insert Count per MinutemeasurementThe global number of entity inserts since the statistics were resetEntityInsertCount
Query Execution Max TimemeasurementThe amount of time taken by the slowest recorded query since the statistics were resetQueryExecutionMaxTime
Entity Update CountmeasurementThe global number of entity updates since the statistics were resetEntityUpdateCount
Entity Update Count per MinutemeasurementThe global number of entity updates since the statistics were resetEntityUpdateCount
Collection Update CountmeasurementThe global number of collections updated since the statistics were resetCollectionUpdateCount
Collection Update Count per MinutemeasurementThe global number of collections updated since the statistics were resetCollectionUpdateCount
Entity Load CountmeasurementThe global number of entity loads since the statistics were resetEntityLoadCount
Entity Load Count per MinutemeasurementThe global number of entity loads since the statistics were resetEntityLoadCount
Entity Fetch CountmeasurementThe global number of entity fetches since the statistics were resetEntityFetchCount
Entity Fetch Count per MinutemeasurementThe global number of entity fetches since the statistics were resetEntityFetchCount
Entity Delete CountmeasurementThe global number of entity deletes since the statistics were resetEntityDeleteCount
Entity Delete Count per MinutemeasurementThe global number of entity deletes since the statistics were resetEntityDeleteCount
Collection Recreate CountmeasurementThe global number of collections recreated since the statistics were resetCollectionRecreateCount
Collection Recreate Count per MinutemeasurementThe global number of collections recreated since the statistics were resetCollectionRecreateCount
Query Execution CountmeasurementThe global number of queries executed since the statistics were resetQueryExecutionCount
Query Execution Count per MinutemeasurementThe global number of queries executed since the statistics were resetQueryExecutionCount
Flush CountmeasurementThe global number of flushes executed by sessions (either implicit or explicit) since the statistics were resetFlushCount
Flush Count per MinutemeasurementThe global number of flushes executed by sessions (either implicit or explicit) since the statistics were resetFlushCount
Collection Load CountmeasurementThe global number of collections loaded since the statistics were resetCollectionLoadCount
Collection Load Count per MinutemeasurementThe global number of collections loaded since the statistics were resetCollectionLoadCount
Successful Transaction CountmeasurementThe global number of transactions known to have been successful since the statistics were resetSuccessfulTransactionCount
Successful Transaction Count per MinutemeasurementThe global number of transactions known to have been successful since the statistics were resetSuccessfulTransactionCount
Query Cache Hit CountmeasurementThe global number of cached queries successfully retrieved from cache since the statistics were resetQueryCacheHitCount
Query Cache Hit Count per MinutemeasurementThe global number of cached queries successfully retrieved from cache since the statistics were resetQueryCacheHitCount
Collection Remove CountmeasurementThe global number of collections removed since the statistics were resetCollectionRemoveCount
Collection Remove Count per MinutemeasurementThe global number of collections removed since the statistics were resetCollectionRemoveCount
Connect CountmeasurementThe 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) since the statistics were resetConnectCount
Connect Count per MinutemeasurementThe 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) since the statistics were resetConnectCount
Start TimetraitThe time when the statistics collection started or were last resetStartTime
Second Level Cache Put CountmeasurementThe global number of cacheable entities/collections put in the cache since the statistics were resetSecondLevelCachePutCount
Second Level Cache Put Count per MinutemeasurementThe global number of cacheable entities/collections put in the cache since the statistics were resetSecondLevelCachePutCount
Query Cache Put CountmeasurementThe global number of cacheable queries put in cache since the statistics were resetQueryCachePutCount
Query Cache Put Count per MinutemeasurementThe global number of cacheable queries put in cache since the statistics were resetQueryCachePutCount
Session Open CountmeasurementThe global number of sessions closed since the statistics were resetSessionOpenCount
Session Open Count per MinutemeasurementThe global number of sessions closed since the statistics were resetSessionOpenCount
Transaction CountmeasurementThe global number of transactions known to have completed since the statistics were resetTransactionCount
Transaction Count per MinutemeasurementThe global number of transactions known to have completed since the statistics were resetTransactionCount
Collection Fetch CountmeasurementThe global number of collections fetched since the statistics were resetCollectionFetchCount
Collection Fetch Count per MinutemeasurementThe global number of collections fetched since the statistics were resetCollectionFetchCount
Session Close CountmeasurementThe global number of sessions closed since the statistics were resetSessionCloseCount
Session Close Count per MinutemeasurementThe global number of sessions closed since the statistics were resetSessionCloseCount
Query Cache Miss CountmeasurementThe global number of cached queries *not* found in cache since the statistics were resetQueryCacheMissCount
Query Cache Miss Count per MinutemeasurementThe global number of cached queries *not* found in cache since the statistics were resetQueryCacheMissCount
Second Level Cache Miss CountmeasurementThe global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were resetSecondLevelCacheMissCount
Second Level Cache Miss Count per MinutemeasurementThe global number of cacheable entities/collections not found in the cache and loaded from the database since the statistics were resetSecondLevelCacheMissCount

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

none

Operations

Table 3.2170. Metrics

NameDescription
Clear StatisticsClear the collected statistics and begin collecting again
View QueriesView statistical information about queries executed by Hibernate

Package Types

none

3.6.1. Hibernate - Entity Service

Overview

Table 3.2171. Overview

Description:A Hibernate persistent entity
Singleton: no
Plugin:Hibernate

Child Resource Types

none

Connection Properties

none

Metrics

Table 3.2172. Metrics

NameTypeDescriptionInternal Name
Load CountmeasurementThe number of times this entity was loaded since the statistics were resetloadCount
Update CountmeasurementThe number of times this entity was updated since the statistics were resetupdateCount
Insert CountmeasurementThe number of times this entity was inserted since the statistics were resetinsertCount
Delete CountmeasurementThe number of times this entity was deleted since the statistics were resetdeleteCount
Fetch CountmeasurementThe number of times this entity was fetched since the statistics were resetfetchCount
Optimistic Lock Failure CountmeasurementThe number of StaleObjectStateExceptions for this entity that occurred since the statistics were resetoptimisticFailureCount

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

none

Operations

none

Package Types

none