gpt4 book ai didi

database - 大小超过 10GB 的空数据库

转载 作者:搜寻专家 更新时间:2023-10-30 19:51:06 25 4
gpt4 key购买 nike

当我试图从一个 11GB 的文本文件 (.tsv) 填充一个表时,我收到了错误:

Could not allocate space for object 'X' in database 'Y' 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.

我认为问题是数据库超过了 10GB,which is the limit for SQL Express .然而,当我检查时,我注意到数据库实际上是空的。查询

SELECT TOP 10 *
FROM Table

执行需要几分钟,但没有任何返回。当我在属性 > 文件下检查时,我发现文件组 PRIMARY 实际上是 10240MB。

这是怎么回事,如何解决这个问题?

最佳答案

将 11GB 的文本文件填充到 SQL Server Express 中会出错,因为它会超过版本限制。您要么将文本文件拆分为 2 个文件,要么升级到标准版。或者试试 Oracle XE?它最多可存储 11GB :) 可能刚好够你用。

关于database - 大小超过 10GB 的空数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19488309/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com