How to Copy/Load 1 billions rows into a Partition Tables Fast

From: "Wong, Kam Fook (TR Technology)" <kamfook(dot)wong(at)thomsonreuters(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: How to Copy/Load 1 billions rows into a Partition Tables Fast
Date: 2024-10-14 17:59:22
Message-ID: CH0PR03MB6100337240436C3FF72FDE37FE442@CH0PR03MB6100.namprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to copy a table (Postgres) that is close to 1 billion rows into a Partition table (Postgres) within the same DB. What is the fastest way to copy the data? This table has 37 columns where some of which are text data types.

Thank you
Kam Fook Wong

This e-mail is for the sole use of the intended recipient and contains information that may be privileged and/or confidential. If you are not an intended recipient, please notify the sender by return e-mail and delete this e-mail and any attachments. Certain required legal entity disclosures can be accessed on our website: https://www.thomsonreuters.com/en/resources/disclosures.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Siraj G 2024-10-14 18:37:57 Help in dealing with OOM
Previous Message Bruce Momjian 2024-10-14 17:00:24 Re: Hello, how should I fix it?