Previous Topic: Define SQL Server 2012 Database FilesNext Topic: Add a Physical File to a Filegroup in SQL Server 2012


Define a Database Filegroup in SQL Server 2012

Use the SQL Server Database File Group Editor to define the filegroups that comprise a database in a SQL Server 2012 physical model.

Follow these steps:

  1. Click Model, Target - SQL Server, Databases.

    The SQL Server Database Editor opens.

  2. Select the database in the Navigation Grid that contains the filegroup that you want to define and click the Files tab.
  3. Click the Filegroups Editor Filegroups Editor Icon in SQL Partition Scheme Editor icon in the Database Filegroups section.

    The SQL Server Database File Group Editor opens.

  4. Select the filegroup in the Navigation Grid that you want to define and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create a filegroup. Use the Enter filter text box to filter a large list of filegroups to locate the one that you want to define.

    Name

    Displays the filegroup name. For example, SalesEMEA, SalesAPAC, or SalesNA.

    Primary

    Specifies whether the filegroup is the primary filegroup.

    Is Default

    Specifies whether the filegroup is a default filegroup.

    Read Write

    Specifies whether the filegroup is writable.

    Contains Filestream

    Specifies whether the filegroup contains filestream data.

  5. Click the General tab and specify the files to include in the filegroup.
  6. (Optional) Click the Comment tab and enter any comments that you want to associate with the filegroup.
  7. (Optional) Click the Where Used tab to view where the filegroup is used in the model.
  8. (Optional) Click the UDP tab to work with user-defined properties for the filegroup.
  9. (Optional) Click the Notes tab to view history information and view or edit user notes.
  10. Click Close.

    The filegroup is defined and the SQL Server Database File Group Editor closes.

More information:

SQL Server 2005 Physical Files

Add a Comment in a Property Editor

Add a UDP in a SQL Server Physical Property Editor