Обсуждение: dump restoration performance

Поиск
Список
Период
Сортировка

dump restoration performance

От
rlemaroi
Дата:
Please how long does it take approximately to restore a 300 Go database using
pg_restore ? Are there benchmarks for that ?



--
View this message in context: http://postgresql.nabble.com/dump-restoration-performance-tp5867370.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


Re: dump restoration performance

От
Michael Paquier
Дата:
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