Re: pg_xlog and the WAL files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_xlog and the WAL files
Дата
Msg-id 27605.1171639586@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_xlog and the WAL files  ("Achakzai, Omar" <omar.achakzai@logicacmg.com>)
Список pgsql-admin
"Achakzai, Omar" <omar.achakzai@logicacmg.com> writes:
> 1. What happens when the file system on which the pg_xlog directly resides,=
>  completely fills up? Does PostgreSQL wait until free space is available ag=
> ain?=20

I believe it'll PANIC and shut down.  You won't lose any committed
transactions ... but transactions in progress are out of luck.

> 2. Our PostgreSQL database (version 8.1.4.) generates almost 20 GB of WAL f=
> iles per hour! What are the best practices related to administering large a=
> mounts of WAL files? Would it be wise to compress the WAL files?=20

What are your checkpoint settings?  Reducing checkpoint frequency is one
way to cut the WAL volume.

            regards, tom lane

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

Предыдущее
От: "Achakzai, Omar"
Дата:
Сообщение: pg_xlog and the WAL files
Следующее
От: "Ezequias Rodrigues da Rocha"
Дата:
Сообщение: Debug (is it PostgreSQL?)