Re: Discourage splitting pg_wal directory

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Discourage splitting pg_wal directory
Дата
Msg-id 67be0e7b3067a7db3a475e1c627bfdd79ab50846.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Discourage splitting pg_wal directory  (Greg Sabino Mullane <htamfids@gmail.com>)
Список pgsql-docs
On Tue, 2024-03-19 at 11:04 -0400, Greg Sabino Mullane wrote:
> On Mon, Mar 18, 2024 at 11:58 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> > I think it is still a good idea to put data files and WAL on different file
> > systems.  Perhaps not so much with the intention of distributing I/O across
> > different disks, but to prevent the data files from filling the WAL disk.
>
> Cannot say I understand this - if the data files are crowding out the WAL,
> surely they are moments away from filling the disk on their own. Disk is cheap
> these days, so I'm not a fan of encouraging complexity if not needed.

If you run out of disk on the data files, you get an error and life goes on.

If WAL runs out of disk space, PostgreSQL will crash.

Yours,
Laurenz Albe



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

Предыдущее
От: Greg Sabino Mullane
Дата:
Сообщение: Re: Discourage splitting pg_wal directory
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: Monetary Data Types Improvement