Re: DELETE takes too much memory - Mailing list pgsql-performance

From Josh Berkus
Subject Re: DELETE takes too much memory
Date
Msg-id 577C01CA.6080208@agliodbs.com
Whole thread Raw
In response to DELETE takes too much memory  (Kouber Saparev <kouber@gmail.com>)
Responses Re: DELETE takes too much memory
List pgsql-performance
On 07/04/2016 10:10 AM, Kouber Saparev wrote:
> No. There are AFTER triggers on other tables that write to this one
> though. It is an audits table, so I omitted all the foreign keys on purpose.

Is it possible that the DELETE blocked many of those triggers due to
locking the same rows?

Incidentally, any time I get into deleting large numbers of rows, I
generally find it faster to rebuild the table instead ...

--
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)


pgsql-performance by date:

Previous
From: trafdev
Date:
Subject: Re: less than 2 sec for response - possible?
Next
From: "Mkrtchyan, Tigran"
Date:
Subject: Re: Tuning guidelines for server with 256GB of RAM and SSDs?