简体   繁体   English

自动增长能否克服SQL Server Express数据库大小限制?

[英]Will autogrowth overcome SQL Server Express database size limit?

I've hit the 4gb limit in my database and I need a bit of breathing space before upgrading it to a SQL Server 2008 database and I just wondered if increasing auto growth would give me more space inside the database beyond the 4GB limit that SQL Server 2005 Express imposes. 我已经达到数据库的4gb限制,在将其升级到SQL Server 2008数据库之前我需要一些喘息的空间,我只是想知道增加自动增长是否会给我更多的数据库空间,超出SQL Server的4GB限制2005 Express强加于此。

I know the pitfalls of Auto Growth with regards to performance as data will be fragmented across the disk and thus make querying it slower but is there an advantage in granting it say 50/100mb of room for auto growth? 我知道自动增长在性能方面的缺陷,因为数据将分散在整个磁盘上,从而使查询速度变慢,但是授予它50 / 100mb的自动增长空间是否有优势? Whilst the migration process is planned out or an alternative is sought. 在计划迁移过程或寻求替代方案的同时。

Disk space is not an issue and it would only be a temporary measure anyway. 磁盘空间不是问题,无论如何它只是一个临时措施。

No. Express Edition will not grow, nor attach or restore, a database over its size limit, no matter what the errorlog viewer tells you. 不会。无论错误日志查看器告诉您什么,Express Edition都不会增长,也不会附加或还原超出其大小限制的数据库。 Not even temporarily. 甚至不是暂时的。

But you have an easy solution: SQL Server 2008R2 Express Edition has raised the limit to 10GB. 但是您有一个简单的解决方案: SQL Server 2008R2 Express Edition将限制提高到10GB。

No it won't. 不,不会。 The SQL Server Express edition is for creating Database-oriented applications without the need to purchase an official SQL Server licenses. SQL Server Express版本用于创建面向数据库的应用程序,而无需购买正式的SQL Server许可证。 However, you cannot use it in an production environment for more reasons other than just file size limit. 但是,除了文件大小限制外,您不能出于其他原因在生产环境中使用它。

No, once you've reached 10'240 MB (10*1024MB) , you're out of luck 不,一旦达到10'240 MB(10 * 1024MB),您将失去运气
(technically not exactly 10GiB). (技术上不完全是10GiB)。

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

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