Re: Replaying 48 WAL files takes 80 minutes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Replaying 48 WAL files takes 80 minutes
Дата
Msg-id 20121029142901.GE12961@alvh.no-ip.org
обсуждение исходный текст
Ответ на Replaying 48 WAL files takes 80 minutes  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Ответы Re: Replaying 48 WAL files takes 80 minutes  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-performance
Albe Laurenz wrote:
> I am configuring streaming replication with hot standby
> with PostgreSQL 9.1.3 on RHEL 6 (kernel 2.6.32-220.el6.x86_64).
> PostgreSQL was compiled from source.
>
> It works fine, except that starting the standby took for ever:
> it took the system more than 80 minutes to replay 48 WAL files
> and connect to the primary.
>
> Can anybody think of an explanation why it takes that long?

Can you do a quick xlogdump of those files?  Maybe there is something
unusual (say particular types of GIN/GiST index updates) on the files
that take longer.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: Re: Prepared statements slow in 9.2 still (bad query plan)
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Replaying 48 WAL files takes 80 minutes