Re: strange slow query - lost lot of time somewhere - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: strange slow query - lost lot of time somewhere
Date
Msg-id CAKFQuwba8CCxDgyiDyp=mqk9Rf9eavWzfXq-wowGZVa-hW7B+Q@mail.gmail.com
Whole thread Raw
In response to Re: strange slow query - lost lot of time somewhere  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: strange slow query - lost lot of time somewhere  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Mon, May 2, 2022 at 10:02 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:


út 3. 5. 2022 v 6:57 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
Pavel Stehule <pavel.stehule@gmail.com> writes:
> there is really something strange (see attached file). Looks so this issue
> is much more related to planning time than execution time

You sure there's not something taking an exclusive lock on one of these
tables every so often?

I am almost sure, I can see this issue only every time when I set a higher work mem. I don't see this issue in other cases.


What are the values of work_mem and hash_mem_multiplier for the two cases?

David J.

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: strange slow query - lost lot of time somewhere
Next
From: Masahiko Sawada
Date:
Subject: Re: Logical replication timeout problem