RE: AW: Plans for solving the VACUUM problem

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: AW: Plans for solving the VACUUM problem
Дата
Msg-id 3705826352029646A3E91C53F7189E3201663C@sectorbase2.sectorbase.com
обсуждение исходный текст
Ответ на AW: Plans for solving the VACUUM problem  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
> Correct me if I am wrong, but both cases do present a problem
> currently in 7.1.  The WAL log will not remove any WAL files
> for transactions that are still open (even after a checkpoint
> occurs). Thus if you do a bulk insert of gigabyte size you will
> require a gigabyte sized WAL directory. Also if you have a simple
> OLTP transaction that the user started and walked away from for
> his one week vacation, then no WAL log files can be deleted until
> that user returns from his vacation and ends his transaction.

Todo:

1. Compact log files after checkpoint (save records of uncommitted  transactions and remove/archive others).
2. Abort long running transactions.

Vadim


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: AW: Plans for solving the VACUUM problem
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: AW: Plans for solving the VACUUM problem