Desværre ikke, den brokker sig, hvis man vælger en størrelse, som er mindre end den, som den har. Og man kan ikke slette filen og hvis man kobler serveren af og omdøber filnavnet og kobler serveren tilbage igen, så virker hjemmesiden ikke (før filen omdøbes tilbage igen).
Der står i en anden tråd, at log-filen tømmes ved hvert backup, men jeg har sat serveren til at foretage backup hver nat, men filen voksede stadigt... hvorfor?
Auto Options Auto options control certain automatic behaviors.
AUTO_CLOSE
When set to ON, the database is closed and shut down cleanly when the last user of the database exits and all processes in the database complete, thereby freeing any resources. By default, this option is set to ON for all databases when using Microsoft® SQL Server™ 2000 Desktop Engine (MSDE 2000), and OFF for all other editions, regardless of operating system. The database reopens automatically when a user tries to use the database again. If the database was shut down cleanly, the database is not reopened until a user tries to use the database the next time SQL Server is restarted. When set to OFF, the database remains open even if no users are currently using the database.
The AUTO_CLOSE option is useful for desktop databases because it allows database files to be managed as normal files. They can be moved, copied to make backups, or even e-mailed to other users. The AUTO_CLOSE option should not be used for databases accessed by an application that repeatedly makes and breaks connections to SQL Server. The overhead of closing and reopening the database between each connection will impair performance.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.