Re: RESTORE multiple DBs concurrently

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: RESTORE multiple DBs concurrently
Дата
Msg-id CAB7nPqQS6-JvsrDNh5Txk7h1qj6Z-+3VrGS+DEgH10C+aQuTWQ@mail.gmail.com
обсуждение исходный текст
Ответ на RESTORE multiple DBs concurrently  (Roberto Grandi <roberto.grandi@trovaprezzi.it>)
Список pgsql-performance
On Sat, Sep 7, 2013 at 12:52 AM, Roberto Grandi
<roberto.grandi@trovaprezzi.it> wrote:
> Is this possible from your point of view to restore on the same server more than 1 DB at time?
Yes, it is possible: simply run multiple instances of pg_restore in
parallel and just don't blow up your disk(s) I/O.

Also, why not restoring one database at the same time and accelerating
a single restore with parallel jobs? If your dump format is compatible
with this option, use -j when running pg_restore to define a number of
concurrent jobs. More info here:
http://www.postgresql.org/docs/9.2/interactive/app-pgrestore.html
This might be useful as well in your case.
--
Michael


В списке pgsql-performance по дате отправления:

Предыдущее
От: Mark Mayo
Дата:
Сообщение: Re: View with and without ::text casting performs differently.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Performance bug in prepared statement binding in 9.2?