About deadlock for drop index command on big size table

From: emilu(at)encs(dot)concordia(dot)ca
To: pgsql-general(at)postgresql(dot)org
Subject: About deadlock for drop index command on big size table
Date: 2020-01-21 14:17:00
Message-ID: 20200121091700.jau33xt1nosk8ogc@mail.encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I tried to call drop index on a big table(around 3 million records)
through non-multi thread script, and got deadlock.

Same drop index command in the same script on a smaller size table no
deadlock returned.

May I know that may cause the problem please?

Thanks a lot.

[Block info]
blocking_pid | blocked_pid | blocked_query
--------------+-------------+---------------
123 | 7298 | DROP index idx1
123 | 7298 | DROP index idx1

Browse pgsql-general by date

  From Date Subject
Next Message Nicola Contu 2020-01-21 15:06:05 Re: ERROR: too many dynamic shared memory segments
Previous Message Ekaterina Amez 2020-01-21 10:18:32 Re: Questions about how to streaming replication (pg 9.2)