Re: Huge iowait during checkpoint finish

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Huge iowait during checkpoint finish
Дата
Msg-id dcc563d11001111501w723256eel4b39f99e8a5e1131@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Huge iowait during checkpoint finish  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-general
On Mon, Jan 11, 2010 at 2:59 PM, Greg Smith <greg@2ndquadrant.com> wrote:
> Scott Marlowe wrote:

> If you can shoehorn one more drive, you could run RAID-10 and get much
> better performance.
>
>
> And throwing drives at the problem may not help.  I've see a system with a
> 48 disk software RAID-10 that only got 100 TPS when running a commit-heavy
> test, because it didn't have any way to cache writes usefully for that
> purpose.

A 4 disk RAID-10 will be about 4 to 8 times faster than a RAID-5 of 3
disks.  It won't be as fast as a good sized RAID-10 with HW caching,
but it would be a big improvement.

> If the old system had a write caching card, and the new one doesn't, that's
> certainly your most likely suspect for the source of the slowdown.  As for

Agreed.  If the new machine is limited to 3 disks, and any one is big
enough to hold the db, I'd look at a two disk mirror with a hot spare
on a HW RAID controller with battery backed chat.  If they can't get a
HW RAID controller than switching to SW RAID-1 would be a positive
step.

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Huge iowait during checkpoint finish
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: How to get DATE in server locale format