Re: Insert query hangs what could be the reason

From: dinesh kumar <dineshkumar02(at)gmail(dot)com>
To: M Tarkeshwar Rao <m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Insert query hangs what could be the reason
Date: 2014-06-19 10:37:09
Message-ID: CALnrH7oLJLYdREuw=pLpdw9JiTXqakepsEQtcWbpBZnrZ9dwtA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 19, 2014 at 1:59 PM, M Tarkeshwar Rao <
m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com> wrote:

> Hi,
>
> Insert query hangs what could be the reason. Is there any way to find out?
> Any timeout feature there with query which can be set at client or server
> end?
>
>
It might be due to concurrent primary key/unique key modifications. Try to
enable the log_lock_waits in postgresql.conf, which gives you more locks
information.

Regards,
Dinesh
manojadinesh.blogspot.com

> Regards
> Tarkeshwar
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Khangelani Gama 2014-06-19 11:11:36 Re: pg_restore: custom archiver unexpected end of file , ERROR: missing data for column
Previous Message Oliver 2014-06-19 10:14:36 Re: Best backup strategy for production systems