Re: random slow query

Поиск
Список
Период
Сортировка
От Sean Ma
Тема Re: random slow query
Дата
Msg-id 8c38075e0906300721w4d04e4aekf487247444186ef4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: random slow query  (Mike Ivanov <mikei@activestate.com>)
Ответы Re: random slow query  (Mike Ivanov <mikei@activestate.com>)
Список pgsql-performance
top - 10:18:58 up 224 days, 15:10,  2 users,  load average: 6.27, 7.33, 6
Tasks: 239 total,   1 running, 238 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.0%us,  0.7%sy,  0.0%ni, 61.5%id, 32.7%wa,  0.0%hi,  0.1%si,  0
Mem:  32962804k total, 32802612k used,   160192k free,   325360k buffers
Swap:  8193140k total,   224916k used,  7968224k free, 30829456k cached

Didn't really see the pattern, typical the cpu load is only about 40%

On Mon, Jun 29, 2009 at 7:26 PM, Mike Ivanov<mikei@activestate.com> wrote:
> Hi Sean,
>
> Sean Ma wrote:
>>
>> One months ago, this type of slow query happened about a few time per
>> day. But recently, the slow query happens more frequent at the rate of
>> once every 10 minutes or less. There seesm not relation to th
>
> What is your hardware (memory, CPU type and such)?
>
> This seems like a cache issue to me, but I can't tell for sure without some
> additional information on your system:
>
> 1) What is the amount of a) available memory b) free memory and c) memory
> available to i/o buffers?
>
> 2) What is the swap usage if any?
>
> 3) What is the CPU load? Any noticeable patterns in CPU load?
>
> You can use /usr/bin/top to obtain most of this information.
>
> Mike
>
>
>

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

Предыдущее
От: "Hartman, Matthew"
Дата:
Сообщение: Re: Utilizing multiple cores in a function call.
Следующее
От: Mike Ivanov
Дата:
Сообщение: Re: random slow query