[GENERAL] Inserting millions of record in a partitioned Table - Mailing list pgsql-general

From Job
Subject [GENERAL] Inserting millions of record in a partitioned Table
Date
Msg-id 88EF58F000EC4B4684700C2AA3A73D7A08180ABD212D@W2008DC01.ColliniConsulting.lan
Whole thread Raw
Responses Re: [GENERAL] Inserting millions of record in a partitioned Table  (Vick Khera <vivek@khera.org>)
List pgsql-general
Hi guys,

with Postgresql 9.6.1 we need to insert, from a certain select query, some millions of record in a partitioned table.
The table is partitioned by day.
The datas we will import can, often, be mixed between two different days.

We noticed that if we import directly into the global table it is really, really slow.
Importing directly in the single partition is faster.

Any suggestions here please?

Thank you, best!
F

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [GENERAL] [HACKERS] USER Profiles for PostgreSQL
Next
From: George Neuner
Date:
Subject: Re: [GENERAL] VM-Ware Backup of VM safe?