Re: Import Database

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Import Database
Date: 2019-05-05 17:20:29
Message-ID: 80db61f9-3618-d507-f990-f9265e3c5fa2@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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>. You can increase maintenance_work_mem maybe to 4GB to
speedup index creation.

Andreas

--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2019-05-05 17:26:28 Re: Import Database
Previous Message Ravi Krishna 2019-05-05 16:56:41 Re: Import Database