Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
2.60/5 (2 votes)
Ours is an ERP Product which deals with huge amounts of Data and we have developed it with a DAO Layer using NHibernate and Burrow. Now after one year many performance issues started creeping up. Mainly with Bulk Data Read & Write operations.

And now we are clueless on how to increase the performance. We have gone through lot of articles and implemented Stateless Sessions, but still no improvement.

Can anybody please suggest a way out of this? We don't want to get tied to a DBMS by using Stored Procedures.

Do all ORM work the same way?
Posted
Updated 14-Jul-13 18:11pm
v2
Comments
Ved Prakash Behera 11-Jul-13 6:40am    
Even I am waiting to hear the answer ..

1 solution

Unfortunately, you have very little control over the SQL being generated by the ORM (in this case, NHibernate).

There's no easy way to improve performance, but a good place to start would be to run query analyzer and see what NHibernate is doing when you query it for data under different conditions. From there, you can start thinking about ways to modify your code to improve performance.

In my experience, ORM's are not suitable for applications where scalability is required for this very reason.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900