SQL Server Compact Edition 3.5 performance

Posted by Wili on Stack Overflow See other posts from Stack Overflow or by Wili
Published on 2010-05-24T15:49:11Z Indexed on 2010/05/30 15:32 UTC
Read the original article Hit count: 154

Filed under:
|

I am using SQL Server CE 3.5 SP1 in one of my client applications. When a user loads the program and starts using it, performance is fine. If the user lets the program sit idle for a while, it takes a considerable amount of time (10 or more seconds) for the program to respond. Every time the user asks for a new screen, a call is made to the SQL CE database to get the data for that screen. It seems like the hard drive may be going to sleep and then when the database is accessed, the hard drive has to wake back up. Is it possible to load the entire database into memory and work from that? Are there any other suggestions on how to increase performance?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about sql-server-ce