Re: [HACKERS] WAL logging freezing

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: [HACKERS] WAL logging freezing
Дата
Msg-id 877iygz2ns.fsf@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [HACKERS] WAL logging freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] WAL logging freezing  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> The added WAL volume should be pretty minimal, because only tuples that have
> gone untouched for a long time incur extra work.

That seems like a weak point in the logic. It seems like it would make VACUUM
which is already an i/o hog even more so. Perhaps something clever can be done
with vacuum_cost_delay and commit_siblings.

Something like inserting the delay between WAL logging and syncing the log and
writing to the heap. So if another transaction commits in the meantime we can
skip the extra fsync and continue.


--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: --single-transaction doc clarification
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] WAL logging freezing