SQL CE 4.0 的限制 [英] The limit of SQL CE 4.0

查看:27
本文介绍了SQL CE 4.0 的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算在一个小型但生产的网站中使用 SQL CE 4.0,我想知道 SQL CE 4.0 可以处理多少负载:

I'm planning to use SQL CE 4.0 in a small but production web site and I'd like to know how much load SQL CE 4.0 can handle:

  1. 同时连接数,
  2. 每个表的行数,以及
  3. 总数据库大小.

推荐答案

Scott Guthrie 在 2011 年 1 月 12 日星期三发表的关于 SQL CE 最新版本及其 VS2010 集成的博客文章可能对您有用:VS 2010 SP1 和 SQL CE

Something that might be useful to you is Scott Guthrie's blog post on Wednesday 12 Jan 2011 regarding the latest version of SQL CE and its VS2010 integration: VS 2010 SP1 and SQL CE

挑选几个引语:

  • SQL CE 可用于开发场景、测试场景和轻型生产使用场景.
  • 从 SQL CE 4 开始,您也可以在网络服务器中使用它.
  • 对于大容量站点和应用程序,您可能希望迁移数据库以使用 SQL Server Express、SQL Server 或 SQL Azure.

我个人认为 4GB &网络服务器上的 256 个并发连接内存数据库开始变得有点大,即使这是 SQL CE 的限制,我还是会在此之前进行迁移.它更多地针对某些场景,如果您的应用程序不适合该场景,那么您应该考虑 Leppie 提到的 SQL Express;即,如果您可以在您的 Web 服务器或可从您的 Web 服务器访问的机器上安装 SQL Express,那么您应该这样做.

Personally I would consider that a 4GB & 256 simultaneous connections in-memory database on a webserver is starting to get a bit big, even though that is the limit for SQL CE, I would look to migrate well before then. It is aimed more at certain scenarios, and if your app doesn't fit that scenario then you should consider SQL Express as Leppie mentioned; i.e. if you can install SQL Express either on your web server or on a machine accessible from your web server then you should do so.


作为后续,人们应该注意到您必须使用 VS2012 才能使用 SQL CE 4.0.SSMS 2008 可用于 SQL CE 3.5(但不是 4.0),并且 SQL CE 功能已从 SSMS 2012 中删除.这意味着如果您使用 SQL CE 4.0 进行开发,则必须使用 Visual Studio 或第三方工具来完成您的开发工作(表创建等).


just as a follow-up, people should note that you must use VS2012 to work with SQL CE 4.0. SSMS 2008 can be used to work with SQL CE 3.5 (but not 4.0), and SQL CE capability has been removed from SSMS 2012. This means if you are developing with SQL CE 4.0, you must use Visual Studio or a third party tool to do your development work (table creation, etc.).

这篇关于SQL CE 4.0 的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆