In one of my process I have this SQL query that take 10-20% of the total execution time. This SQL query does a filter on my Database, and load a list of PricingGrid object. So I want to improve these performance. So far I guessed 2 solutions :
Use a NoSQL solution, AFAIK these are good solutions for improving reading process.
- But the migration seems hard and needs a lot of work (like import the data from sql server to nosql in a regular basis)
- I don't have any knowledge , I even don't know which one I should use (the first I'd use is Ravendb because I follow ayende and it's done by the .net community).
- I might have some stuff to change in my model to make my object ok for a nosql database
Load all my PricingGrid object in memory (in a static IEnumerable)
- This might be a problem when my server won't have enough memory to load everything
- I might reinvent the wheel (indexes...) invented by the NoSQL providers
I think I'm not the first one wondering this, so what would be the best solution ? Is there any tools that could help me ?
.net 3.5, SQL Server 2005, windows server 2005