Почему DUMP TRANSACTION <BD> WITH TRUNCATE_ONLY не увеличивает место в лог-файле
Релиб
Форумы       Участники    Календарь    Кто он-лайн?
Добро пожаловать, гость ( Вход | Регистрация )
        



Почему DUMP TRANSACTION WITH... Expand / Collapse
Автор
Сообщение
23.07.2000 20:29
новичок

новичокновичокновичокновичокновичокновичокновичокновичок

участник
Last Login: 23.07.2000 20:26
Сообщ.: 2, Visits: 23
Почему DUMP TRANSACTION <BD> WITH TRUNCATE_ONLY не полностью освобождает лог-файл?
Сообщ. #51224
24.07.2000 5:27
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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.

Как для других баз - не знаю.
Сообщ. #51236
« пред. тема | след. тема »


Эту тему читают Expand / Collapse
Посетители: 0 (0 гостей, 0 участников, 0 скрыт.участников)
Сейчас нет участников, просматривающих тему.
Модераторы: Alexey, boombastik, bazile, pl

Время GMT +3:00, Сейчас 2:51