开发者

Is SQL Server CE 4.0 able to handle few tables with many rows with acceptable performance?

开发者 https://www.devze.com 2023-03-18 18:42 出处:网络
I\'m writing a relatively small single user winforms lottery application. Most of the time it will just fetch开发者_如何学JAVA data (tickets) from a webservice and then, on saturdays, it will realize

I'm writing a relatively small single user winforms lottery application. Most of the time it will just fetch开发者_如何学JAVA data (tickets) from a webservice and then, on saturdays, it will realize the lottery draw. As the balls are drawn, a query will run to display how many tickets are in for a win. After four balls are drawn the app will display the winning tickets.

By the time of the draw, there will be from one to eight million rows (tickets) in the database, so my question is if SQL CE 4.0 is able to handle this task.


Remember there is a 4 GB limit per database file. But the lookup should work fine, you should probably look into bypassing the query processor by use Seek - http://msdn.microsoft.com/en-us/library/system.data.sqlserverce.sqlcedatareader.seek(v=VS.90).aspx - but it would be easier to advice you, if you could share your table schema

0

精彩评论

暂无评论...
验证码 换一张
取 消