Performance on DISABLE TRIGGER

From: gmb <gmbouwer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Performance on DISABLE TRIGGER
Date: 2015-02-27 14:07:27
Message-ID: 1425046047407-5839727.post@n5.nabble.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all

I'm doing some maintenance - which is done quite often, never had this
problem before - which requires me to disable triggers, run some updates and
then re-enable the triggers.
Where the whole process normally take 30 sec , it took much longer today and
I cancelled after 5 minutes.

After running the statements individually to pinpoint the issue , I
identified that the problem is on the first line.
>> ALTER TABLE tab DISABLE TRIGGER trig;
I have not been able to run this successfully -- after 10 minutes the
connection ( to remote DB ) got severed .
Any ideas on where I can start to look for the cause of the problem ?

Thanks

--
View this message in context: http://postgresql.nabble.com/Performance-on-DISABLE-TRIGGER-tp5839727.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Turner 2015-02-27 14:29:59 Re: range type expression syntax
Previous Message Sergey Shchukin 2015-02-27 11:42:39 Re: Re: [pgadmin-support] Issue with a hanging apply process on the replica db after vacuum works on primary