Re: dump restoration performance - Mailing list pgsql-performance

From Michael Paquier
Subject Re: dump restoration performance
Date
Msg-id CAB7nPqTB1ZzuXhNugF_9Xj8QUdD+A6qNAO5_ZqVGrFnZQ59cpA@mail.gmail.com
Whole thread Raw
In response to dump restoration performance  (rlemaroi <remi.le-marois@capgemini.com>)
List pgsql-performance
On Fri, Sep 25, 2015 at 10:43 PM, rlemaroi <remi.le-marois@capgemini.com> wrote:
> Please how long does it take approximately to restore a 300 Go database using
> pg_restore ? Are there benchmarks for that ?

That's not an exact science and this is really application-dependent.
For example the more your schema has index entries to rebuild at
restore the longer it would take. There are as well ways to tune the
server to perform a faster restore, by for example increasing
maintenance_work_mem, disabling autovacuum, moving wal_level to
minimum, etc.
--
Michael


pgsql-performance by date:

Previous
From: rlemaroi
Date:
Subject: dump restoration performance
Next
From: Josh Berkus
Date:
Subject: Re: Queries Per Second (QPS)