Re: pg_dump incredibly slow dumping a single schema from a large db
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump incredibly slow dumping a single schema from a large db |
| Дата | |
| Msg-id | 21030.1333124305@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dump incredibly slow dumping a single schema from a large db (Mike Roest <mike.roest@replicon.com>) |
| Ответы |
Re: pg_dump incredibly slow dumping a single schema from a
large db
|
| Список | pgsql-general |
Mike Roest <mike.roest@replicon.com> writes:
> This dump is currently taking around 8 minutes. While dumping the pg_dump
> process is using 100% of one core in the server (24 core machine). Doing a
> -v pg_dump I found that the following stages are taking the majority of the
> time
> reading user_defined tables (2 minutes and 20 seconds)
> reading dependency data (5 minutes and 30 seconds)
Can you get an execution profile with oprofile or gprof or similar tool?
It doesn't surprise me a lot that pg_dump might have some issues with
large numbers of objects, but guessing which inefficiencies are hurting
you is difficult without more info.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера