Re: Out of shared mem on new box with more mem, 9.1.5 -> 9.1.6 - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: Out of shared mem on new box with more mem, 9.1.5 -> 9.1.6
Date
Msg-id 20121024202957.306930@gmx.com
Whole thread Raw
List pgsql-performance
Maciek Sakrejda wrote:

> Before the switch, everything was running fine.

One thing to look for is a connection stuck in "idle in transaction"
or old prepared transactions in pg_prepared_xacts. Either will cause
all sorts of problems, but if you are using serializable transactions
the error you are seeing is often the first symptom. I'm starting to
think we should add something about that to the hint.

On the other hand, it could just be that you need to increase the
setting the hint currently references. For complex databases it is
definitely on the low side. It is really low if you have tables with
hundreds of partitions which might get referenced by a single query.

-Kevin


pgsql-performance by date:

Previous
From: Shaun Thomas
Date:
Subject: Re: Setting Statistics on Functional Indexes
Next
From: "Kevin Grittner"
Date:
Subject: Re: How to upgrade from 9.1 to 9.2 with replication?