Re: pg_wal folder high disk usage

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: pg_wal folder high disk usage
Дата
Msg-id CAKAnmmJwRQekE-4bGAmVEoP9KQdLtWz9+=CzBYGa_11KTbeQ2g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_wal folder high disk usage  (Muhammad Usman Khan <usman.k@bitnine.net>)
Ответы Re: pg_wal folder high disk usage
Список pgsql-general
On Fri, Nov 1, 2024 at 2:40 AM Muhammad Usman Khan <usman.k@bitnine.net> wrote:
For immediate space, move older files from pg_Wal to another storage but don't delete them.

No, do not do this! Figure out why WAL is not getting removed by Postgres and let it do its job once fixed. Please recall the original poster is trying to figure out what to do because they are not the database admin, so having them figure out which WAL are "older" and safe to move is not good advice.

Resizing the disk is a better option. Could also see if there are other large files on that volume that can be removed or moved elsewhere, esp. large log files.

Hopefully all of this is moot because their DBA is back from leave. :) 

Cheers,
Greg


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