Re: Slow queries on 9.3.1 despite use of index - Mailing list pgsql-performance

From Tom Lane
Subject Re: Slow queries on 9.3.1 despite use of index
Date
Msg-id 30075.1398726366@sss.pgh.pa.us
Whole thread Raw
In response to Re: Slow queries on 9.3.1 despite use of index  (Michael van Rooyen <michael@loot.co.za>)
List pgsql-performance
Michael van Rooyen <michael@loot.co.za> writes:
> On 2014/04/28 07:50 PM, Tom Lane wrote:
>> Hm ... it seems pretty suspicious that all of these examples take just
>> about exactly 1 second longer than you might expect.  I'm wondering
>> if there is something sitting on an exclusive table lock somewhere,
>> and releasing it after 1 second.

> I do have log_min_duration_statement = 1000, which may cause this.

Ah, I overlooked that detail.  Never mind that theory then.  Although
it might still be worth turning on log_lock_waits for awhile, just to
eliminate the possibility of lock-induced delays.

            regards, tom lane


pgsql-performance by date:

Previous
From: Michael van Rooyen
Date:
Subject: Re: Slow queries on 9.3.1 despite use of index
Next
From: Albe Laurenz
Date:
Subject: Re: Revisiting disk layout on ZFS systems