Re: [GENERAL] Non-overlapping updates blocking each other

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Non-overlapping updates blocking each other
Дата
Msg-id 30908.1508162154@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Non-overlapping updates blocking each other  (Seamus Abshere <seamus@abshere.net>)
Ответы Re: [GENERAL] Non-overlapping updates blocking each other
Список pgsql-general
Seamus Abshere <seamus@abshere.net> writes:
> I hesitate to share my query and indexes because it makes this question
> seem more esoteric than I think it really is... but here we go.
> * Version 9.6.3.
> * I don't have any foreign key constraints.
> * I don't use serializable.
> * My update query is very careful to stay in an id range. [1]
> * I do have some exotic indexes [2]. gist, gin, postgis, fillfactor...

I'd bet on the last one, especially since you found that the problem
was a page-level lock.  Did you look to see which relation the page
lock was in?
        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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GENERAL] Non-overlapping updates blocking each other
Следующее
От: rakeshkumar464
Дата:
Сообщение: [GENERAL] Force SSL connection