Thank you David. I see some queries running for 10+ seconds, but I do not have transactions there, it’s just select queries. More thoughts ? Thanks, Dzmitry From: "David G. Johnston" <david.g.johnston@xxxxxxxxx> Date: Thursday, April 2, 2015 at 8:57 PM To: Bob Jones <dzmitry.nikitsin@xxxxxxxxx> Cc: "pgsql-general@xxxxxxxxxxxxxx" <pgsql-general@xxxxxxxxxxxxxx> Subject: Re: ERROR: out of memory On Thu, Apr 2, 2015 at 5:24 PM, Dzmitry Nikitsin <dzmitry.nikitsin@xxxxxxxxx> wrote:
Start here: Research Ask more specific questions. I suspect you not only are keeping your 100 sessions directly and permanently connected to the database but many of them are also keeping open transactions. I'd also drop any preconception about which tables you think are problematic - since likely the tables themselves are not the issue. David J. |