简体   繁体   English

SQL Server Express的限制

[英]Limitations of SQL Server Express

My hosting provider (Rackspace) is offering a fully managed dedicated server with SQL Server Web version () installed. 我的托管服务提供商(Rackspace)提供安装了SQL Server Web版本()的完全托管的专用服务器。 My company handles web development, and has about 20+ clients using ASP.Net + SQL Server 2005. 我的公司处理Web开发,并且有大约20多个客户使用ASP.Net + SQL Server 2005。

I am thinking of cutting down costs by installing the free SQL Server 2008 Express instead. 我正在考虑通过安装免费的SQL Server 2008 Express来降低成本。 I am aware of the 1GB RAM and 4GB/database (is that correct?) limitations. 我知道1GB RAM和4GB /数据库(这是正确的吗?)限制。 What I would like to know is: 我想知道的是:

  1. Is there any limit to the NUMBER of databases I can install with the express edition? 我可以使用快递版安装的数据库数量是否有任何限制?
  2. Are there any other limitations I should be wary of? 还有其他限制我应该警惕吗? I am a bit concerned about having to set up the database backup - with the express edition it might a lot more difficult. 我有点担心必须设置数据库备份 - 使用快速版本可能会困难得多。
  3. Any other advise? 还有其他建议吗?

There are a number of limitations, notably: 有许多限制,特别是:

  • Constrained to a single CPU (in 2012, this limitation has been changed to "The lesser of one socket or four cores", so multi-threading is possible) 受限于单个CPU(2012年,此限制已更改为“一个插槽或四个内核中的较小者”,因此可以进行多线程)
  • 1GB RAM (Same in 2008/2012) 1GB RAM(2008/2012年度相同)
  • 4GB database size (raised to 10GB in SQL 2008 R2 and SQL 2012) per database 每个数据库4GB数据库大小(在SQL 2008 R2和SQL 2012中提高到10GB)

http://www.dotnetspider.com/tutorials/SqlServer-Tutorial-158.aspx http://www.microsoft.com/sqlserver/2008/en/us/editions.aspx http://www.dotnetspider.com/tutorials/SqlServer-Tutorial-158.aspx http://www.microsoft.com/sqlserver/2008/en/us/editions.aspx

With regards to the number of databases, this MSDN article says there's no limit: 关于数据库的数量, 这篇MSDN文章说没有限制:

The 4 GB database size limit applies only to data files and not to log files. 4 GB数据库大小限制仅适用于数据文件,而不适用于日志文件。 However, there are no limits to the number of databases that can be attached to the server. 但是,可以连接到服务器的数据库数量没有限制。

However, as mentioned in the comments and above, the database size limit was raised to 10GB in 2008 R2 and 2012. Also, this 10GB limit only applies to relational data, and Filestream data does not count towards this limit ( http://msdn.microsoft.com/en-us/library/bb895334.aspx ). 但是,如评论及上述内容所述,2008 R2和2012中的数据库大小限制已提升至10GB。此外,此10GB限制仅适用于关系数据,而文件流数据不计入此限制( http:// msdn .microsoft.com / zh-cn / library / bb895334.aspx )。

Another limitation to consider is that SQL Server Express editions go into an idle mode after a period of disuse. 另一个需要考虑的限制是SQL Server Express版本在一段时间不使用后进入空闲模式。

Understanding SQL Express behavior: Idle time resource usage, AUTO_CLOSE and User Instances : 了解SQL Express行为:空闲时资源使用情况,AUTO_CLOSE和用户实例

When SQL Express is idle it aggressively trims back the working memory set by writing the cached data back to disk and releasing the memory. 当SQL Express 处于空闲状态时,它会通过将缓存的数据写回磁盘并释放内存来积极地修剪工作内存集。

But this is easily worked around: Is there a way to stop SQL Express 2008 from Idling? 但这很容易解决: 有没有办法阻止SQL Express 2008从空闲?

You can create user instances and have each app talk to its very own SQL Express. 您可以创建用户实例并让每个应用程序与其自己的SQL Express进行通信。

There is no limit on the number of databases. 数据库的数量没有限制。

You can't install Integration Services with it. 您无法使用它安装Integration Services。 Express does not support Integration Services. Express不支持Integration Services。 So if you want build say SSIS-packages you'll need at least Standard Edition. 因此,如果你想构建说SSIS包,你至少需要标准版。

See more here . 在这里查看更多。

如果从Web切换到Express,您将无法再使用SQL Server代理服务,因此需要为维护和备份设置不同的调度程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM