我們正在錯誤:增加Mountpoint_TempDB的大小?
Could not allocate space for object 'dbo.SORT temporary run storage: 140747710922752' in database 'tempdb' 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.
我清空了tempdb的文件夾,並試圖運行一個大型查詢並迅速重新填充。所以我試圖增加TempDB的大小,但是這導致了一個錯誤。
ALTER DATABASE [tempdb] MODIFY FILE (
NAME = N'tempdev',
SIZE = 8388608KB); --8GB
MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file 'D:\TempDB\tempdb.mdf'
。
看來該文件夾d:\ tempdb有1GB的最大容量。我想知道如何改變這一點,以便我們可以重新聯機。