Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Specifies the maximum size to which the log file can grow.
Syntax
<Database>
...
<LogFile>
...
<MaxSize>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
string (see Remarks). |
Default value |
Unrestricted file growth. |
Occurrence |
Optional once per LogFile element. |
Updates |
Cannot be modified when updating the instance. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
None. |
Hinweise
You can use the kilobyte (KB), megabyte (MB), gigabyte (GB), or terabyte (TB) suffix. The default is MB. Specify a whole number; do not include a decimal.
If MaxSize is not specified, the file grows until the disk is full.
Set the maximum log file size to at least 10 MB. Notification Services uses additional log space when you create and update the instance.
For more information, see the max_size parameter in the CREATE DATABASE (Transact-SQL) topic.
If you want to alter the database after creating the instance, use the SQL Server tools, such as SQL Server Management Studio.
Beispiel
This example shows how to specify a maximum log file size of 6 MB.
<MaxSize>6MB</MaxSize>
Siehe auch
Verweis
Application Definition File Reference
Konzepte
Instance Configuration File Reference
Andere Ressourcen
Aktualisieren von Instanzen und Anwendungen