|
|
|
новичок
      
участник
Last Login: 23.07.2000 20:26
Сообщ.: 2,
Visits: 23
|
|
| Почему DUMP TRANSACTION <BD> WITH TRUNCATE_ONLY не полностью освобождает лог-файл?
|
|
|
|
|
Supreme Being
      
участник
Last Login: 12.11.2007 17:38
Сообщ.: 1 252,
Visits: 13 544
|
|
Для MS SQL Server 7.0 (из SQL Server Book Online/ статья "Truncating the Transaction Log")
Truncation does not physically reduce the size of a log file, it simply marks virtual log files as inactive. Actually deleting portions of the log file is controlled by the DBCC SHRINKDATABASE and DBCC SHRINKFILE statements. These DBCC statements specify that the size of a log file is to be reduced when free space is available in the file. The unit of deletion is a virtual log file. Virtual logs in the active portion of the log cannot be deleted. If all the virtual logs in a log file are in the active portion of the log, the file does not shrink until a truncation marks one or more of the virtual logs as inactive.
Как для других баз - не знаю.
|
|
|
|