This is the second part in my series of "Thoughts on NHibernate performance". I recommend that you read the first post (insert link) because I will reuse things from that post. In this post I am going to talk about using a stateless session for inserting records to the database by using NHibernate. This is something I didn't talked about in the previous post simply because otherwise the post would become too long. You can find the updated version of the code on my Github [https://github.com/thom…
All posts in Performance
I have been working a couple of years with NHibernate and thought I would share some experiences about NHibernate performance tuning. This blog post will focus on batch inserts. When we talk about NHibernate performance tuning you should take into account that tuning NHibernate and tuning the database are 2 seperated things. This post doesn't discuss any database tuning. We will focus on the NHibernate part. First when doing performance tuning you should install the NHibernate Profiler [https:…