| От | Richard Huxton |
|---|---|
| Тема | Re: Restoration of datas |
| Дата | |
| Msg-id | 489BFC42.8040603@archonet.com обсуждение исходный текст |
| Ответ на | Restoration of datas (dforums <dforums@vieonet.com>) |
| Список | pgsql-performance |
dforums wrote: > COuld you advice me on which restoration method is the faster. To > upgrade from postgresql 8.1.11 to 8.3.3. Using the pg_dump from your 8.3 package, dump the database using -Fc to get a nicely compressed dump. Then use pg_restore to restore it. If you add a --verbose flag then you will be able to track it. You might want to set fsync=off while doing the restore. This is safe since if the machine crashes during restore you just start again. Oh, and increase work_mem too - there's only going to be one process. What will take the most time is the creating of indexes etc. It will take a long time to do a full restore though - you've got 64GB of data and slow disks. -- Richard Huxton Archonet Ltd
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера