简体   繁体   中英

NHibernate statistics

Would it be a perfomance issue when I set generate_statistics to true? Or would this improve performance of NHibernate? Should I always set this to true - also in production system?

At the production you should not enable it. As ayende says "It is not really recommended, it results in locks to update the stats all too often." http://groups.google.com/group/nhprof/browse_thread/thread/841fbc918418041b

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM