다음을 통해 공유


NamedFileGroup Element (ICF)

Contains elements that define a filegroup for instance database files.

구문

<Database>
    <NamedFileGroup>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once or more per Database element.

Updates

Cannot be added or deleted when updating the instance.

Element Relationships

Relationship Elements

Parent element

Database Element (ICF)

Child elements

FileGroupName Element (ICF)

FileSpec Element (ICF)

주의

Every database has a Primary filegroup, and if you define instance database properties in the instance configuration file (ICF), you must have a Primary filegroup. You can have additional filegroups to group additional data files together for administrative, data allocation, and placement purposes. For more information about files and filegroups, see 파일 및 파일 그룹 이해.

If you want to alter the instance database after creating the instance, use the SQL Server tools, such as SQL Server Management Studio.

This example shows how to define the primary filegroup for the instance database:

<NamedFileGroup>
    <FileGroupName>Primary</FileGroupName>
    <FileSpec>
        <LogicalName>PrimaryFG</LogicalName>
        <FileName>%BaseDirectoryPath%\Primary.mdf</FileName>
        <Size>10MB</Size>
        <MaxSize>20MB</MaxSize>
        <GrowthIncrement>20%</GrowthIncrement>
    </FileSpec>
</NamedFileGroup>

참고 항목

참조

Application Definition File Reference

개념

Instance Configuration File Reference

관련 자료

파일 및 파일 그룹 이해
인스턴스 데이터베이스 정의
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기