agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Venkatesan, Sekhar <sekhar.venkatesan@emc.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Cc: Choudhuri, Saurav <saurav.choudhuri@emc.com>
Cc: Rao, Raghavendra <raghavendra.rao@emc.com>
Subject: Re: Re: PostgreSQL:ALTER TABLE command hangs forever when DB partitioning is enabled.
Date: Thu, 21 Apr 2016 07:16:58 -0700
Message-ID: <5718E0DA.7050703@aklaver.com> (raw)
In-Reply-To: <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A75A5@MX105CL01.corp.emc.com>
References: <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A75A5@MX105CL01.corp.emc.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On 04/21/2016 03:23 AM, Venkatesan, Sekhar wrote:
> For DROP_INDEX case, adding the lock_timeout setting to few seconds
> helps in clearing the DB locks and the drop index operation to complete.
>
> For ALTER table hang issue, none of the DB timeout settings are helping.
>
> Need your assistance to identify if there is any known issue when data
> partitioning is enabled in PostgreSQL DB.

You have shown the error, but it would be helpful to know what the setup is:

What are the tables involved in the partitioning scheme?

How is the partitioning been done?

How are the statements being sent to server?

In particular I am seeing a BEGIN on the DDL statements, is that coming 
from you or the client software?

>
> Thanks,
> Sekhar

-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (6+ messages)  latest in thread

Message-ID: <5718E0DA.7050703@aklaver.com>
Permalink:  ../5718E0DA.7050703@aklaver.com/
Also on:    postgresql.org/message-id/5718E0DA.7050703@aklaver.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: adrian.klaver@aklaver.com, sekhar.venkatesan@emc.com, saurav.choudhuri@emc.com, raghavendra.rao@emc.com
  Subject: Re: Re: PostgreSQL:ALTER TABLE command hangs forever when DB partitioning is enabled.
  In-Reply-To: <5718E0DA.7050703@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox