--- title: "sys.filegroups (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "05/24/2016" ms.prod: "sql-non-specified" ms.reviewer: "" ms.suite: "" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "language-reference" f1_keywords: - "sys.filegroups_TSQL" - "filegroups" - "sys.filegroups" - "filegroups_TSQL" dev_langs: - "TSQL" helpviewer_keywords: - "sys.filegroups catalog view" ms.assetid: 9e851f72-1f8e-4515-a25d-152ebc12ed56 caps.latest.revision: 54 author: "BYHAM" ms.author: "rickbyh" manager: "jhubbard" --- # sys.filegroups (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)] Contains a row for each data space that is a filegroup. |Column name|Data type|Description| |-----------------|---------------|-----------------| |**\**|--|For a list of columns that this view inherits, see [sys.data_spaces (Transact-SQL)](../../relational-databases/system-catalog-views/sys-data-spaces-transact-sql.md).| |**filegroup_guid**|**uniqueidentifier**|GUID for the filegroup.

NULL = PRIMARY filegroup| |**log_filegroup_id**|**int**|[!INCLUDE[ssInternalOnly](../../includes/ssinternalonly-md.md)] In [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], 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**: [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] ([!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] through [current version](http://go.microsoft.com/fwlink/p/?LinkId=299658)).

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](../../relational-databases/security/metadata-visibility-configuration.md). ## See Also [Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/catalog-views-transact-sql.md) [Data Spaces (Transact-SQL)](../../relational-databases/system-catalog-views/data-spaces-transact-sql.md)