Re: wal segment size

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: wal segment size
Дата
Msg-id cdea7a44c8c696d762118d40295fded2f6493010.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: wal segment size  (Andrew <adhenry.9@gmail.com>)
Ответы Re: wal segment size
Список pgsql-general
On Fri, 2025-12-19 at 09:26 +0100, Andrew wrote:
> As an oracle dba new to Postgres, I’m used to the concept of context switches and latch issues
> with regards to transaction log switches. Does Postgres have a similar mechanism with latching
> etc when it switches to a new wal segment that is alleviated when increasing the size of the
> wal segments?

Not really.  PostgreSQL doesn't reuse WAL segments in a circular fashion like Oracle does.
At the end of a checkpoint, it creates new, empty WAL segments for future use, so if there
is a need to switch to a new segment, there is no need to wait for anything.

Yours,
Laurenz Albe



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