Re: Huge spikes in number of connections doing "PARSE"

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
Cc: Noah Misch <noah(at)leadboat(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Huge spikes in number of connections doing "PARSE"
Date: 2011-03-14 21:21:27
Message-ID: 20110314212126.GA8220@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Mar 14, 2011 at 07:49:46PM +0100, hubert depesz lubaczewski wrote:
> These 60 were summarized, and output is available here:
> http://www.depesz.com/various/locks.summary.txt
>
> as you can seem, in 48 cases backend process was in semop(), which relates
> directly to my previous findings with ps/wchan.

It's unfortunate you don't have debug symbols enabled, which makes
these traces somewhat unreliable. So you get odd things like index_open
calling index_close.

The common factor seems to be lots of index locks. Do you have very
many indexes?

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
> - Charles de Gaulle

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2011-03-14 21:47:24 Re: Autocommit off - commits/rollbacks
Previous Message Tom Lane 2011-03-14 20:13:57 Re: Move From Oracle DB to PostgreSQL DB