Re: time taking deletion on large tables

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: time taking deletion on large tables
Дата
Msg-id 20201203145126.GA4726@depesz.com
обсуждение исходный текст
Ответ на time taking deletion on large tables  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-admin
On Thu, Dec 03, 2020 at 08:15:06PM +0530, Atul Kumar wrote:
> Hi,
> 
> The feed_posts table has over 50 Million rows.
> 
> When I m deleting all rows of a certain type that are over 60 days old.

The common solution to this problem is to partition, and then, instead
of deleting rows - delete old partitions.

depesz



В списке pgsql-admin по дате отправления:

Предыдущее
От: Atul Kumar
Дата:
Сообщение: time taking deletion on large tables
Следующее
От: Ron
Дата:
Сообщение: Re: time taking deletion on large tables