【SQLServer】Filegroup is full
一、報錯資訊:
Executed as user: HJTC\HJTCSQLServer. Could not allocate space for object 'xxx' in database 'xxx' because the 'xxx' filegroup is full. [SQLSTATE 42000] (Error 1105). The step failed.
二、解決步驟:
1.檢查你的磁碟剩餘空間是否足夠,如果沒有磁碟剩餘空間,則清理磁碟,騰出空間
2.檢查你的磁碟分割槽格式
如果是FAT16,則資料檔案最大隻能是2G
如果是FAT32,則資料檔案最大隻能是4G
改為NTFS分割槽則沒有這種限制
3.檢查一下你有沒有限制資料庫檔案的大小
企業管理器--右鍵你的資料庫--屬性--檔案增長限制--如果有限制大小,取消限制
4.檢查你的SQL版本,如果你用MSDE,則限制了資料檔案最大是2G
5.你也可以為 資料檔案組新增新的資料檔案來解決這個問題
alter database 庫名 add file(NAME = 邏輯檔名,FILENAME = 'c:\實際檔名.ndf') to filegroup xxx;
例:
ALTER DATABASE Test1
ADD FILE
( NAME = test1dat3,FILENAME = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\t1dat3.ndf',
SIZE = 5MB,MAXSIZE = 100MB,FILEGROWTH = 5MB)
TO FILEGROUP Test1FG1;
或者使用SSMS進行圖形化操作。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30776559/viewspace-2146073/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【SqlServer】管理全文索引(FULL TEXT INDEX)SQLServer索引Index
- SQLSERVER事務日誌已滿 the transaction log for database 'xx' is fullSQLServerDatabase
- Description of restoring file and filegroup backups in SQL ServerRESTSQLServer
- Index Full Scan vs Index Fast Full ScanIndexAST
- Index Full Scans和Index Fast Full ScansIndexAST
- Index Full Scan 與 Index Fast Full ScanIndexAST
- INDEX FULL SCAN和INDEX FAST FULL SCAN區別IndexAST
- index full scan 和 index FAST full scan 區別IndexAST
- Index Full Scan 與 Index Fast Full Scan (Final)IndexAST
- rowid,index,INDEX FULL SCAN,INDEX FAST FULL SCAN|IndexAST
- INDEX UNIQUE SCAN,INDEX FULL SCAN和INDEX FAST FULL SCANIndexAST
- INDEX FULL SCAN和INDEX FAST FULL SCAN的區別IndexAST
- Index的掃描方式:index full scan/index fast full scanIndexAST
- index full scan 和 index fast full scan (IFS,FFS)的不同IndexAST
- 查詢資料庫物件所屬的filegroup及相關SQL資料庫物件SQL
- oracle full database backupOracleDatabase
- Index Full Scan和Index Fast Full Scan行為差異分析(上)IndexAST
- Index Full Scan和Index Fast Full Scan行為差異分析(下)IndexAST
- BW的Repair Full RequestAI
- `FULL JOIN` 和 `UNION ALL`
- MySQL 之 only_full_group_byMySql
- full database export and import(實戰)DatabaseExportImport
- index fast full scan 和 nullIndexASTNull
- Fast full index scan 淺析ASTIndex
- How to perform FULL System Export/ImportsORMExportImport
- 收集full table / index scan sqlIndexSQL
- Oracle 安裝Full Text searchOracle
- 轉 SYSAUX tablespace 100% fullUX
- imp full database (轉官檔)Database
- The LRU Algorithm and Full Table Scans (81)Go
- Oracle學習系列—資料庫最佳化—Full Scans和Fast Full Index ScansOracle資料庫ASTIndex
- SQL server資料庫建立程式碼 filegroup檔案組修改的示例程式碼SQLServer資料庫
- Full GC (Metadata GC Threshold)GC
- Ruby on Rails Mountable vs. Full EngineAI
- 理解full outer jion,union,union all
- MySQL 中 show full processlist 詳解MySql
- V8 之旅:FULL COMPILERCompile
- full backup 與 level 0 incremental backupREM