Re: Create Index CONCURRENTLY Hangs Indefinitely.

Поиск
Список
Период
Сортировка
От Matheus de Oliveira
Тема Re: Create Index CONCURRENTLY Hangs Indefinitely.
Дата
Msg-id CAJghg4Lw3WrG_ux6w0zFqxE3j8msitoAt57Wg-p2+VXViPgvbw@mail.gmail.com
обсуждение исходный текст
Ответ на Create Index CONCURRENTLY Hangs Indefinitely.  (Wei Shan <weishan.ang@gmail.com>)
Ответы Re: Create Index CONCURRENTLY Hangs Indefinitely.  (Wei Shan <weishan.ang@gmail.com>)
Список pgsql-admin

On Tue, May 19, 2015 at 7:30 AM, Wei Shan <weishan.ang@gmail.com> wrote:
4. After it took more than 2hrs+, I went to terminate the session via Ctrl-C, it returned the following error.

WARNING:  canceling wait for synchronous replication due to user request
DETAIL:  The transaction has already committed locally, but might not have been replicated to the standby.
^CCancel request sent
ERROR:  canceling statement due to user request

The index has been created already, probably for a long time, but it was waiting to be sent to your standby server. Seems that you have synchronous replication configured and your standby is either delayed, not connected or out of sync. That is bad, really bad, means that any writes to your primary might be stalling now.

You should check your replication.

Regards,
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres

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

Предыдущее
От: "Gilberto Castillo"
Дата:
Сообщение: Re: Deleting old WAL-files
Следующее
От: "Graeme B. Bell"
Дата:
Сообщение: Performances issues with SSD volume ?