Re: Load spikes on 8.1.11 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Load spikes on 8.1.11
Date
Msg-id 10020.1216356393@sss.pgh.pa.us
Whole thread Raw
In response to Re: Load spikes on 8.1.11  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
List 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 by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: Re: Load spikes on 8.1.11
Next
From: Andrew Sullivan
Date:
Subject: Re: Load spikes on 8.1.11