Enable/study NHibernate's statistics. 2009/10/2 Bruno Wouters <[email protected]>
> Hi all, > > > > Is there a way to measure the total time spent by the database executing > queries etc? > > I would like to display the number of seconds that are spent by the > database. > > > > It would be nice if I for example could have a custom IDbCommand so I can > measure the time spend in the ExecuteNonQuery, ExecuteReader, … methods. > > I also looked at IInterceptor.PostFlush & PreFlush, but this is only the > time writing to the database. I should also have the time while reading. > > > > Any ideas? > > > > Thanks! > > > > Greets, > > Bruno > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
