I'm developping a C# project with SqlServerCompact.
I have to open a connection with the database for each request and create a reader/executenonquery. But is it possible to load all the database in the memory ? (sqllite did this in c++ as far as i can remember). This would allow me to avoid huge loading times on each request.
I'd like to do all my request in the memory and after persist them in the .sdf file. Is it possible with sql server compact ? If not which database manager will you recommend me ? (I need something which can be deployed easily)
I ask the question because sometimes I have huge insert to realize (between 6000 and 10000) in one time, so it takes ages, do you have ideas on how to improve these performances ?
Thank you