Re: [GENERAL] startup process stuck in recovery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] startup process stuck in recovery
Дата
Msg-id 1971.1507579274@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] startup process stuck in recovery  (Christophe Pettus <xof@thebuild.com>)
Ответы Re: [GENERAL] startup process stuck in recovery  (Christophe Pettus <xof@thebuild.com>)
Список pgsql-general
Christophe Pettus <xof@thebuild.com> writes:
> The other observation is that the startup process is holding a *lot* of locks:

Hmm.  Is it possible that the process is replaying the abort of a
transaction with a lot of subtransactions?  It seems like maybe
you could be getting into an O(N^2) situation, though for N in
the low thousands it's hard to see that loop taking so long that
you'd think things were stuck.

> # select mode, count(*) from pg_locks where pid=5882 group by mode;
>  AccessExclusiveLock |  7133

Is that number changing at all?
        regards, tom lane


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Condor
Дата:
Сообщение: [GENERAL] Question about memory usage of pg_dump
Следующее
От: Christophe Pettus
Дата:
Сообщение: Re: [GENERAL] startup process stuck in recovery