Re: DELETE takes too much memory

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: DELETE takes too much memory
Дата
Msg-id 577C01CA.6080208@agliodbs.com
обсуждение исходный текст
Ответ на DELETE takes too much memory  (Kouber Saparev <kouber@gmail.com>)
Ответы Re: DELETE takes too much memory  (Kouber Saparev <kouber@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: trafdev
Дата:
Сообщение: Re: less than 2 sec for response - possible?
Следующее
От: "Mkrtchyan, Tigran"
Дата:
Сообщение: Re: Tuning guidelines for server with 256GB of RAM and SSDs?