Re: Import Database - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Import Database
Date
Msg-id 80db61f9-3618-d507-f990-f9265e3c5fa2@a-kretschmer.de
Whole thread Raw
In response to Import Database  (Sathish Kumar <satcse88@gmail.com>)
Responses Re: Import Database
List 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




pgsql-general by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: Import Database
Next
From: Ron
Date:
Subject: Re: Import Database