Re: Orphaned statements issue

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Orphaned statements issue
Date: 2011-01-20 21:35:34
Message-ID: 4D38AAA6.6000409@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> I have seen it -- on 8.1 too. On our case it was caused by an insert
> that was doing lots of toast insertions, so it needed to grab the
> extension lock frequently for the toast table; and this was slowed
> down by a largish shared_buffers setting, somehow (8.1 doesn't have lock
> partitioning, so this was expensive). I don't recall details on why
> these were related. If this is your case too, I doubt you'd be able to
> reproduce it in 9.0 (not even in 8.2 which is when lock partitioning was
> introduced).

Thanks, I'll bet that's the case. This is happening on machines with
more RAM, so they've increased shared_buffers.

Now, to get them off 8.1. Been trying for over a year now ...

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2011-01-20 21:36:11 Re: ALTER TABLE ... REPLACE WITH
Previous Message Tom Lane 2011-01-20 21:32:28 Re: REVIEW: EXPLAIN and nfiltered