Re: bulk DMLs - Mailing list pgsql-admin

From Ron Johnson
Subject Re: bulk DMLs
Date
Msg-id CANzqJaDSMQ3-=a9FZvpnDBj6ztNoFd8rsw9Q+ZzUvqyej2O3Ww@mail.gmail.com
Whole thread Raw
In response to bulk DMLs  (Nikhil Ingale <niks.bgm@gmail.com>)
Responses Re: bulk DMLs
List pgsql-admin
On Thu, Nov 16, 2023 at 7:04 AM Nikhil Ingale <niks.bgm@gmail.com> wrote:
Hi All,
Hope everyone is doing well.
I would like to know how we perform/handle the bulk provisioning i.e., insert/delete/updates in Postgresql.


Bulk loading via the COPY command is very efficient.
Bulk deletes can be tricky.  I'd use a CTE SELECT with LIMIT clause that fetches the PK in chunks.

pgsql-admin by date:

Previous
From: Achilleas Mantzios - cloud
Date:
Subject: Re: Pgbouncer
Next
From: Ron Johnson
Date:
Subject: Index file is growing when I drop a table. Why?