Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at
NHibernate Performance Tuning

One of the most frequent hesitations I hear from people, who haven't yet realized the value of a good ORM, is the worry of performance degradation.  Just like any other framework, an ORM can certainly be misused and become a self-fulfilling prophesy for these nay-sayers if basic design considerations have not been examined or if tuning has not been properly performed.  Peter Weissbrod, a DBA-oriented software developer, helped me immensely in tuning the last, good-sized project I was involved with.  That project had a rule-based engine at its core and made many calls to the database while processing hundreds to thousands of rules during a single HTTP request.

Peter has put together the first of two articles he's writing on the subject of tuning an NHibernate-backed application and has made it available at  In part one of this series, Peter concisely describes the essential tools and basic steps for answering the question "where do I begin for increasing NHibernate performance."  Of particular interest are a couple of useful SQL queries for pinpointing your most frequent queries and, more importantly, your most inefficient queries.  Definitely worth a read for anyone using NHibernate.


Posted 03-03-2007 9:04 PM by Billy McCafferty
Filed under:



Cole Blog Network » Blog Archive » NHibernate Performance Tuning, Part Deux wrote Cole Blog Network » Blog Archive » NHibernate Performance Tuning, Part Deux
on 06-17-2007 6:10 AM
Billy McCafferty wrote NHibernate Performance Tuning, Part Deux
on 08-13-2007 4:00 PM

Previously, I mentioned Peter Weissbrod's introduction to performance tuning NHibernate backed applications. wrote
on 03-24-2008 3:57 AM

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)