SQL Server 2008 Express Edition文件大小限制问题
我遇到的SQL Server错误如下:
无法为数据库“mainDB”中的对象“dbo.xxx”.“PK_xxx”分配空间,因为“PRIMARY”文件组已满。通过删除不需要的文件、删除文件组中的对象、向文件组添加其他文件或为文件组中的现有文件设置自动增长来创建磁盘空间。
我的问题是为什么 MDF 文件大小仅限于 4GB,而运行的 SQL 实例是 SQL Server 2008 Express Edition(我发现它应该是 10GB)。
The SQL Server error I encounter as below:
Could not allocate space for object 'dbo.xxx'.'PK_xxx' in database 'mainDB' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
My question is why the MDF file size is limited to only 4GB while the SQL instance running is SQL Server 2008 Express Edition (which I found it supposed to be 10GB instead).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SQL Server 2008 Express 支持 4GB。
SQL Server 2008 R2 Express 支持 10GB。
不要忘记大小限制不包括日志文件(SQL Express 2005 的链接,但我找不到 SQL Express 2008 R2 的类似链接,我认为这一事实没有改变)。它也不包含 FILESTREAM 数据,这很好。关于此这里有一些有用的评论。
此 SQL Server 博客条目宣布了大小增加。
SQL Server 2008 Express supports 4GB.
SQL Server 2008 R2 Express supports 10GB.
Don't forget that the size limit doesn't include the log files (link for SQL Express 2005, but I couldn't find similar for SQL Express 2008 R2 and I don't think this fact has changed). It also doesn't include
FILESTREAM
data either, which is nice. There are a few useful comments about this here.This SQL Server Blog entry announced the size increase.