Re: ERROR: canceling statement due to statement timeout - Mailing list pgsql-general

From Vick Khera
Subject Re: ERROR: canceling statement due to statement timeout
Date
Msg-id AANLkTik0Cf8e2DJRJJn7twNsEma2t_n3uiNHsdHT8oJs@mail.gmail.com
Whole thread Raw
In response to ERROR: canceling statement due to statement timeout  (Tim <tavspam@gmail.com>)
Responses Re: ERROR: canceling statement due to statement timeout  (Tim <tavspam@gmail.com>)
List pgsql-general
On Fri, Jul 2, 2010 at 12:22 PM, Tim <tavspam@gmail.com> wrote:
> I've had a website up for a couple of months and it's starting to get
> these db timeouts as traffic has increased to say 1k pageviews a day.
>

Are you using any two-phase commit (ie, prepared transactions?)

We find that if you try to insert data that will conflict with data
pending in a 2PC, you get a statement timeout immediately.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Transform_Null_Equals does not work in Functions
Next
From: John R Pierce
Date:
Subject: Re: moderninzing/upgrading mail list format