reindex table deadlock

Поиск
Список
Период
Сортировка
От Dan H
Тема reindex table deadlock
Дата
Msg-id CAE9wFP0GXBJ83J5zZOzweHgtXBb7NWZJprB1kSxMMi7-ozMBTg@mail.gmail.com
обсуждение исходный текст
Ответы Re: reindex table deadlock  (jaime soler <jaime.soler@gmail.com>)
Список pgsql-general
Hi,

I encountered a deadlock while running 'reindex table TABLE1' in
postgresql version 9.2.4
The postgresql logs shows the two offending processes.

1st process was running reindex table TABLE1
waiting for AccessExclusiveLock on primary key index of TABLE1

2nd process was running stored procedure that executes selects and
deletes to TABLE1
waiting for RowExclusiveLock on TABLE1.

Is this the same lock upgrade deadlock issue that someone has
previously mentioned with reindex?


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

Предыдущее
От: pbj@cmicdo.com
Дата:
Сообщение: Re: Performance of UPDATE SET = FROM vs UPDATE SET = (SELECT ...)
Следующее
От: avpro avpro
Дата:
Сообщение: Fwd: function for trigger