pg.ddx.io  pgsql-ru-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry E. Oboukhov <unera@debian.org>
To: pgsql-ru-general@postgresql.org
Subject: CREATE INDEX CONCURRENTLY: Error: ERROR:  canceling statement due to lock timeout
Date: Thu, 30 Apr 2020 15:41:16 +0300
Message-ID: <60051588250046@mail.yandex.ru> (raw)

<div>Есть удалённая БД, она админится не мной, а доступ к ней как к услуге, со всеми вытекающими...</div><div> </div><div>Однако есть коннект и консоль psql.</div><div><br />В этой консоли пишу оператор CREATE INDEX CONCURRENTLY</div><div> </div><div>индекс начинает создаваться а потом через несколько секунд коннект отваливается с ошибкой:</div><div> </div><div>Error: ERROR: canceling statement due to lock timeout</div><div> </div><div>Вопрос: это связано с какими-то специфическими настройками БД (например ручкой set statement_timeout) или с какими-то проблемами другими?</div><div> </div><div>В общем что покопать?</div><div> </div><div>меня тут смущает "due to lock timeout". Что именно с lock у него трабла.</div><div> </div><div>Гугл выводит на проблемы типа update большой таблицы массовой. Но CREATE INDEX не о том же.</div>

view thread (2+ messages)  latest in thread

Message-ID: <60051588250046@mail.yandex.ru>
Permalink:  ../60051588250046@mail.yandex.ru/
Also on:    postgresql.org/message-id/60051588250046@mail.yandex.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-ru-general@postgresql.org
  Cc: unera@debian.org
  Subject: Re: CREATE INDEX CONCURRENTLY: Error: ERROR:  canceling statement due to lock timeout
  In-Reply-To: <60051588250046@mail.yandex.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox