From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Import Database
Date: Mon, 6 May 2019 12:35:37 +0200
Message-ID: <a7d90fc3-54fa-5a66-8f7e-15c608064669@a-kretschmer.de> (raw)
In-Reply-To: <78cf3a1b-f376-5971-bf77-b26185954325@gmail.com>
References: <CANa_DOhNoHi9=6C9OanRR+AfshUovS7HCjNkqeykwm0o64srtQ@mail.gmail.com>
<80db61f9-3618-d507-f990-f9265e3c5fa2@a-kretschmer.de>
<78cf3a1b-f376-5971-bf77-b26185954325@gmail.com>
Am 05.05.19 um 19:26 schrieb Ron:
> On 5/5/19 12:20 PM, Andreas Kretschmer wrote:
>>
>>
>> Am 05.05.19 um 18:47 schrieb Sathish Kumar:
>>> Is there a way to speed up the importing process by tweaking
>>> Postgresql config like maintenance_workmem, work_mem, shared_buffers
>>> etc.,
>>
>> sure, take the dump in custom-format and use pg_restore with -j
>> <number_of_jobs>.
>
> Custom format or directory format?
both are possible for that.
Regards, Andreas
--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andreas@a-kretschmer.de
Subject: Re: Import Database
In-Reply-To: <a7d90fc3-54fa-5a66-8f7e-15c608064669@a-kretschmer.de>
References: <CANa_DOhNoHi9=6C9OanRR+AfshUovS7HCjNkqeykwm0o64srtQ@mail.gmail.com> <80db61f9-3618-d507-f990-f9265e3c5fa2@a-kretschmer.de> <78cf3a1b-f376-5971-bf77-b26185954325@gmail.com> <a7d90fc3-54fa-5a66-8f7e-15c608064669@a-kretschmer.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox