다음을 통해 공유


LogFile Element (ICF)

Contains elements that specify properties of the instance database log file.

구문

<Database>
    ...
    <LogFile>

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

LogicalName Element for LogFile (ICF)

FileName Element for LogFile (ICF)

Size Element for LogFile (ICF)

MaxSize Element for LogFile (ICF)

GrowthIncrement Element for LogFile (ICF)

주의

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

For more information about log file configuration, see the LOG ON section of the CREATE DATABASE(Transact-SQL) topic.

This example shows a complete LogFile element.

<LogFile>
    <LogicalName>StockLog</LogicalName>
    <FileName>%BaseDirectoryPath%\Stock.ldf</FileName>
    <Size>3MB</Size>
    <MaxSize>6MB</MaxSize>
    <GrowthIncrement>20%</GrowthIncrement>
</LogFile>

참고 항목

참조

Application Definition File Reference

개념

Instance Configuration File Reference

관련 자료

CREATE DATABASE(Transact-SQL)
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기