Re: ERROR: canceling statement due to statement timeout

From: Vick Khera <vivek(at)khera(dot)org>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: ERROR: canceling statement due to statement timeout
Date: 2010-07-06 15:36:28
Message-ID: AANLkTik0Cf8e2DJRJJn7twNsEma2t_n3uiNHsdHT8oJs@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 2, 2010 at 12:22 PM, Tim <tavspam(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-07-06 15:39:53 Re: Transform_Null_Equals does not work in Functions
Previous Message Sam Mason 2010-07-06 15:35:09 Re: SQL Query Help Please !