Re: Backup is too slow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backup is too slow
Дата
Msg-id 16682.1102783070@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Backup is too slow  ("John Jensen" <JRJ@ft.fo>)
Список pgsql-admin
"John Jensen" <JRJ@ft.fo> writes:
> The job is clearly cpu bound in the postmaster process.

Which part of the dump process is CPU bound --- dumping schema, or data?
(Try enabling log_statement for the pg_dump run and correlating the
appearance of queries in the postmaster log with the CPU usage.)

If it's schema-bound, maybe you need to vacuum/analyze your system
catalogs a bit more aggressively.

If it's data-bound, I'm not sure what you can do other than switch to
datatypes that are cheaper to convert to text form.  It would be
interesting to find out where the problem is, though, in case there's
something we can fix for future releases.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Login with blank password
Следующее
От: Deepak Vohra
Дата:
Сообщение: Please unsubscribe from mailing list.