Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
sys.filegroups (Transact-SQL)
Applies to: 👁 Image
SQL Server 👁 Image
Azure SQL Database 👁 Image
Azure SQL Managed Instance 👁 Image
Azure Synapse Analytics 👁 Image
Analytics Platform System (PDW) 👁 Image
SQL analytics endpoint in Microsoft Fabric 👁 Image
Warehouse in Microsoft Fabric 👁 Image
SQL database in Microsoft Fabric
Contains a row for each data space that is a filegroup.
| Column name | Data type | Description |
|---|---|---|
| <inherited columns> | -- | For a list of columns that this view inherits, see sys.data_spaces (Transact-SQL). |
| filegroup_guid | uniqueidentifier | GUID for the filegroup. NULL = PRIMARY filegroup |
| log_filegroup_id | int | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. In SQL Server, the value is NULL. |
| is_read_only | bit | 1 = Filegroup is read-only. 0 = Filegroup is read/write. |
| is_autogrow_all_files | bit | Applies to: 👁 Image SQL Server 2016 (13.x) and later versions. 1 = When a file in the filegroup meets the autogrow threshold, all files in the filegroup grow. 0 = When a file in the filegroup meets the autogrow threshold, only that file grows. This is the default. |
Permissions
Requires membership in the public role. For more information, see Metadata Visibility Configuration.
See Also
Feedback
Was this page helpful?
