Re: [ADMIN] Fastest Backup Method?
От | Peter Eisentraut |
---|---|
Тема | Re: [ADMIN] Fastest Backup Method? |
Дата | |
Msg-id | b4e3a529-33ca-4e77-9b95-87b7be4e569c@2ndquadrant.com обсуждение исходный текст |
Ответ на | [ADMIN] Fastest Backup Method? (Artem Tomyuk <admin@leboutique.com>) |
Ответы |
Re: [ADMIN] Fastest Backup Method?
|
Список | pgsql-admin |
On 9/4/17 13:23, Artem Tomyuk wrote: > I'am wondering, what is the fastest backup method do you know, for me it is: > (Assume that we running on 16 * CPU box) > > pg_dump -Z 4 -j 16 -F c -F d > > -Z 4 compression level > > -j 16 number of parallel jobs > > -F c, d custom+directory format I think you misunderstood that last part. There can only be one output format, and the last option wins. So you are really running in directory format only. As for performance, you generally have the right idea. Specifics depend on the hardware. My experience is that any compression at all can be bad for performance. But the I/O cost might balance that in some cases. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-admin по дате отправления: