Work done in trunk.Now, Tobes, you must pay something.... ;)
I will explain you how work with it but you must write a blog and/or a wiki
in www.nhforge.org
Ok?

An introduction...
Available statistics Info-per-SessionFactory, are:

Global number of entity deletes
Global number of entity inserts
Global number of entity loads
Global number of entity fetchs
Global number of entity updates
Global number of executed queries
The TimeSpan of the slowest query.
The query string for the slowest query.
The global number of cached queries successfully retrieved from cache
The global number of cached queries *not* found in cache
The global number of cacheable queries put in cache
Get the global number of flush executed by sessions (either implicit or
explicit)
Get the global number of connections asked by the sessions
Global number of cacheable entities/collections successfully retrieved from
the cache
Global number of cacheable entities/collections not found in the cache and
loaded from the database.
Global number of cacheable entities/collections put in the cache
Global number of sessions closed
Global number of sessions opened
Global number of collections loaded
Global number of collections fetched
Global number of collections updated
Global number of collections removed
Global number of collections recreated
The number of transactions we know to have been successful
The number of transactions we know to have completed
The number of prepared statements that were acquired
The number of prepared statements that were released
The number of StaleObjectStateExceptions  that occurred
Specific Entity Statistics
Specific collection statistics per role
Second level cache statistics per region
Query statistics from query string (HQL or SQL)

If you set the value of OperationThreshold with something great than
TimeSpan.MinValue you will have InfoLogs when one of the follow operations
need more time than OperationThreshold :
load entity
fetch  entity
update  entity
insert  entity
delete  entity
load Collection
fetch Collection
update Collection
recreate Collection
remove Collection
execute Query
end Transaction

(the logger to activate is NHibernate.Stat.StatisticsImpl)

I would like that somebody pay with a blog.post or a wiki in www.nhforge.org

Thanks.
Bye.
Fabio Maulo.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to