Re: Non-overlapping updates blocking each other

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Seamus Abshere <seamus(at)abshere(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Non-overlapping updates blocking each other
Date: 2017-10-16 13:55:54
Message-ID: 30908.1508162154@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Seamus Abshere <seamus(at)abshere(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rakeshkumar464 2017-10-16 14:05:01 Force SSL connection
Previous Message Alvaro Herrera 2017-10-16 13:24:16 Re: Non-overlapping updates blocking each other