Re: Load spikes on 8.1.11

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Load spikes on 8.1.11
Дата
Msg-id 10020.1216356393@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Load spikes on 8.1.11  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-hackers
"Gurjeet Singh" <singh.gurjeet@gmail.com> writes:
> Can you please elaborate on what high level diagnosis would you need?

Well, we'd need some idea of which spinlock is being contended for...

> I just ran DROP SCHEMA _<slony schema> CASCADE; and it spiked again, on a
> very low loaded box!!

That *might* mean that the problem is contention for SInvalLock, since
dropping a large schema would result in a lot of sinval traffic.  Or
maybe it's something else.  Do your spikes correspond to large DDL
changes?

If your platform has oprofile or DTrace or some such then getting an
execution profile with that type of tool would tell something.
        regards, tom lane


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

Предыдущее
От: "Gurjeet Singh"
Дата:
Сообщение: Re: Load spikes on 8.1.11
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Load spikes on 8.1.11