Re: very slow postgresql startup

Поиск
Список
Период
Сортировка
От Alex Ignatov
Тема Re: very slow postgresql startup
Дата
Msg-id 1ce91b2f-6509-3e56-a173-91392fc8141f@postgrespro.ru
обсуждение исходный текст
Ответ на very slow postgresql startup  (zz_11@mail.bg)
Список pgsql-admin

On 23.05.2016 11:33, zz_11@mail.bg wrote:

Hi,


After stopping my pg server with pg_ctl -m immediate stop options it take hours to startup.

With vmstat I find hi pcu and io useages.

Any idea about this problem? I think it can be pg_xlog files.

How can I debug or trace this problem?

pg version is 9.4.5 running on centos 6.

Many thanks in advance.




-------------------------------------
ПП: Ако имаш идеи за сайт, виж какво предлагат СуперХостинг.БГ. Тази пролет дават -75% отстъпка за нов хостинг план.


Hi!
What do you see in strace output? I think that pg falls in unlinking temp file from previous incarnation. Check this out or show us strace output.
Thank you in advance.


Alex Ignatov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


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

Предыдущее
От: Nagy László Zsolt
Дата:
Сообщение: Could not shut down DB
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Could not shut down DB