Re: Extremely Slow Cascade Delete Operation

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Yan Cheng Cheok <yccheok(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Extremely Slow Cascade Delete Operation
Date: 2010-01-13 08:13:30
Message-ID: 2f4958ff1001130013m3e471cd7gb045683da0903db8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

try checking if it is waiting perhaps for something (is locked).

Peek at: (using different connection)
SELECT * FROM pg_stat_activity;
SELECT * FROM pg_locks;

Did you used prepared transactions ?
Try:
SELECT * FROM pg_prepared_xacts ;

Maybe some other transaction is blocking it.

HTH

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yan Cheng Cheok 2010-01-13 08:16:38 Is It Good Practice That I use TableName-Month-Year Convention
Previous Message Yan Cheng Cheok 2010-01-13 08:09:21 Extremely Slow Cascade Delete Operation