How can we enhance our serach performance
in a large application that works with NHibernate
?
views:
37answers:
2
+3
A:
This is a rather general question. It always depends on what you search in what data structure.
So I can only give you general advises:
- Use indexes
- optimize the data structure, for instance by avoiding joins paths and avoid conditions
- optimize HQL
- use query batches
- use
select new
- in very special cases, use native sql or views
Stefan Steinegger
2010-04-21 09:42:39