Re: Extremely Slow Cascade Delete Operation - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: Extremely Slow Cascade Delete Operation
Date
Msg-id 2f4958ff1001130013m3e471cd7gb045683da0903db8@mail.gmail.com
Whole thread Raw
In response to Extremely Slow Cascade Delete Operation  (Yan Cheng Cheok <yccheok@yahoo.com>)
Responses Re: Extremely Slow Cascade Delete Operation  (Yan Cheng Cheok <yccheok@yahoo.com>)
List 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

pgsql-general by date:

Previous
From: Yan Cheng Cheok
Date:
Subject: Extremely Slow Cascade Delete Operation
Next
From: Yan Cheng Cheok
Date:
Subject: Is It Good Practice That I use TableName-Month-Year Convention