About a year ago I wrote a blog post on NHibernate performance tuning where I mentioned Hilo as an option to increase your performance when doing bulk inserts. A couple of weeks ago a colleague asked me about how Hilo in NHibernate works. After explaining Hilo to him, I decided to write a blog post about it. In this blog post I will discuss what Hilo is, when to use it, what the benefits are and what my personal experience is with Hilo in general. I created the following Github repository with…
All posts in NHibernate
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…
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:…