Re: Slow Postgresql server

Поиск
Список
Период
Сортировка
От Guido Neitzer
Тема Re: Slow Postgresql server
Дата
Msg-id 16E9A17C-ADFA-43B2-B7EA-5C7A4D7E96D1@event-s.net
обсуждение исходный текст
Ответ на Re: Slow Postgresql server  (Ron <rjpeace@earthlink.net>)
Ответы Re: Slow Postgresql server
Список pgsql-performance
On 12.04.2007, at 07:26, Ron wrote:

> You need to buy RAM and HD.

Before he does that, wouldn't it be more useful, to find out WHY he
has so much IO?

Have I missed that or has nobody suggested finding the slow queries
(when you have much IO on them, they might be slow at least with a
high shared memory setting).

So, my first idea is, to turn on query logging for queries longer
than a xy milliseconds, "explain analyse" these queries and see
wether there are a lot of seq scans involved, which would explain the
high IO.

Just an idea, perhaps I missed that step in that discussion
somewhere ...

But yes, it might also be, that the server is swapping, that's
another thing to find out.

cug

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Large objetcs performance
Следующее
От: Ron
Дата:
Сообщение: Re: Slow Postgresql server