Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server SQL Express-我可以对现有表进行分区以解决10GB文件大小限制吗?_Sql Server_Wpf_Sql Server Express - Fatal编程技术网

Sql server SQL Express-我可以对现有表进行分区以解决10GB文件大小限制吗?

Sql server SQL Express-我可以对现有表进行分区以解决10GB文件大小限制吗?,sql-server,wpf,sql-server-express,Sql Server,Wpf,Sql Server Express,我们的一个定制版本达到了SQL Express edition的10GB大小限制。有两个表包含过多的培训数据。我们可以在sql express edition上对表进行分区吗?是否有此问题的帮助链接 我们设计了一个重构表和代码的解决方案。但是分区表听起来要容易得多。不,伙计-不幸的是,你什么也做不了 SQL Express 2005 & 2008 R1 4 Gb database size limit SQL Express 2008 R2 10 Gb database

我们的一个定制版本达到了SQL Express edition的10GB大小限制。有两个表包含过多的培训数据。我们可以在sql express edition上对表进行分区吗?是否有此问题的帮助链接


我们设计了一个重构表和代码的解决方案。但是分区表听起来要容易得多。

不,伙计-不幸的是,你什么也做不了

SQL Express 2005 & 2008 R1  4 Gb database size limit
SQL Express 2008 R2         10 Gb database size limit
SQL Express 2012            10 Gb database size limit
SQL Express 2014            10 Gb database size limit
SQL Express 2016            10 Gb database size limit
我以前尝试过找到解决方法,因为我想使用T-SQL语法来处理一些数据,但没有成功

此外,即使您找到了一种方法,也总是有可能违反SQL Server许可证


使用其他数据库(有开源解决方案)或升级到标准版。

最大数据库大小为10GB,而不是对象大小。分区表不会减少数据库的大小。谢谢。我们将尝试将其拆分为多个mdf文件。给我两分钱:当您的客户达到10 GB的文件大小时,删除不再需要的数据后缩小文件并没有帮助-是时候升级服务器版本了。多亏了M$。我们将尝试将其拆分为几个mdf文件。