Re: WAL sync behaviour

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: WAL sync behaviour
Дата
Msg-id 437355C6.4030604@archonet.com
обсуждение исходный текст
Ответ на WAL sync behaviour  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Ответы Re: WAL sync behaviour  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Список pgsql-performance
Steinar H. Gunderson wrote:
> Hi,
>
> We're having problems with our PostgreSQL server using forever for simple
> queries, even when there's little load -- or rather, the transactions seem
> to take forever to commit. We're using 8.1 (yay!) on a single Opteron, with
> WAL on the system two-disk (software) RAID-1, separate from the database
> four-disk RAID-10. All drives are 10000rpm SCSI disks, with write cache
> turned off; we value our data :-) We're running Linux 2.6.13.4, with 64-bit
> kernel but 32-bit userspace.

You're beyond my area of expertise, but I do know that someone's going
to ask what filesystem this is (ext2/xfs/etc). And probably to see the
strace too.

Hmm - the only things I can think to check:
Do vmstat/iostat show any unusual activity?
Are your system logs on these disks too?
Could it be the journalling on the fs clashing with the WAL?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Steinar H. Gunderson"
Дата:
Сообщение: WAL sync behaviour
Следующее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: WAL sync behaviour