Re: Batch process - Mailing list pgsql-general

From Rob Sargent
Subject Re: Batch process
Date
Msg-id a9efd93b-6662-eb94-385e-191022f8e153@gmail.com
Whole thread Raw
In response to Re: Batch process  (Rama Krishnan <raghuldrag@gmail.com>)
List pgsql-general
On 7/20/22 09:26, Rama Krishnan wrote:
Hi Adrian, 

Thanks for the update. 


Is it possible to achieve 10000 records deletion on every iteration because my original table contains 5M records during the deletion process it consumes more cpu and resources.


See here for date manipulation functions.  you can delete by month or week, which ever makes it fit your hardware

pgsql-general by date:

Previous
From: Rama Krishnan
Date:
Subject: Re: Batch process
Next
From: Adrian Klaver
Date:
Subject: Re: postgis