Re: ext4 finally doing the right thing

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: ext4 finally doing the right thing
Дата
Msg-id 4B586961.20401@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: ext4 finally doing the right thing  (Aidan Van Dyk <aidan@highrise.ca>)
Ответы Re: ext4 finally doing the right thing
Список pgsql-performance
Aidan Van Dyk wrote:
> Sure, if your WAL is on the same FS as your data, you're going to get
> hit, and *especially* on ext3...
>
> But, I think that's one of the reasons people usually recommend putting
> WAL separate.

Separate disks can actually concentrate the problem.  The writes to the
data disk by checkpoints will also have fsync behind them eventually, so
splitting out the WAL means you just push the big write backlog to a
later point.  So less frequently performance dives, but sometimes
bigger.  All of the systems I was mentioning seeing >10 second pauses on
had a RAID-1 pair of WAL disks split from the main array.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


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

Предыдущее
От: Florian Weimer
Дата:
Сообщение: Re: ext4 finally doing the right thing
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: ext4 finally doing the right thing