Re: 7 hrs for a pg_restore?
От | Tom Lane |
---|---|
Тема | Re: 7 hrs for a pg_restore? |
Дата | |
Msg-id | 19241.1203445378@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: 7 hrs for a pg_restore? (Richard Huxton <dev@archonet.com>) |
Ответы |
Re: 7 hrs for a pg_restore?
Re: 7 hrs for a pg_restore? |
Список | pgsql-performance |
Richard Huxton <dev@archonet.com> writes: > Douglas J Hunley wrote: >> I spent a whopping seven hours restoring a database late Fri nite for a > Oh, and have you tweaked the configuration settings for the restore? > Lots of work_mem, turn fsync off, that sort of thing. maintenance_work_mem, to be more specific. If that's too small it will definitely cripple restore speed. I'm not sure fsync would make much difference, but checkpoint_segments would. See http://www.postgresql.org/docs/8.3/static/populate.html#POPULATE-PG-DUMP Also: why did you choose -o ... was there a real need to? I can see that being pretty expensive. regards, tom lane
В списке pgsql-performance по дате отправления: