Re: Slow queries on 9.3.1 despite use of index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow queries on 9.3.1 despite use of index
Дата
Msg-id 30075.1398726366@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow queries on 9.3.1 despite use of index  (Michael van Rooyen <michael@loot.co.za>)
Список 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 по дате отправления:

Предыдущее
От: Michael van Rooyen
Дата:
Сообщение: Re: Slow queries on 9.3.1 despite use of index
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Revisiting disk layout on ZFS systems