public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sašo Gantar <[email protected]>
To: Tom Lane <[email protected]>
Cc: Laurenz Albe <[email protected]>
Cc: David Rowley <[email protected]>
Cc: [email protected]
Subject: Re: problem with query
Date: Mon, 27 May 2024 13:39:54 +0200
Message-ID: <CAGB0_65WW2GRF9qRx112a+jVeWLPSw+tyGKeuu_eNp8x+e7AbA@mail.gmail.com> (raw)
In-Reply-To: <CAGB0_67P1JNuVXAijwXtET9YTpqWO=Uii=oeMb-KVaKXQCp=JQ@mail.gmail.com>
References: <CAGB0_6600w5C=hvhgfMWCqO9BCwCg+3s0PxXuoQv48NLqTp6dA@mail.gmail.com>
<CAApHDvq=sj+vVQ6HKOdNLeWbQnHErg5QPSz26s0a90PtY1NLdw@mail.gmail.com>
<CAGB0_67gRyJkCycv6vJA_8fFtNUu7H-f-nsKastZTe93gobBHA@mail.gmail.com>
<[email protected]>
<CAGB0_67+MbsqatNyone7cx5ziuKy_DfV=MLTcc6T0BfoS3Qyrw@mail.gmail.com>
<[email protected]>
<CAGB0_67P1JNuVXAijwXtET9YTpqWO=Uii=oeMb-KVaKXQCp=JQ@mail.gmail.com>
upgrade to "PostgreSQL 16.3 (Debian 16.3-1.pgdg120+1) on
x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit"
solved the problem
regards,
s
On Wed, 22 May 2024 at 06:04, Sašo Gantar <[email protected]> wrote:
> ANALYZE pg_class; doesn't help
> also, query is from "Hasura", so I don't have much room to maneuver
>
> On Tue, 21 May 2024 at 16:18, Tom Lane <[email protected]> wrote:
>
>> =?UTF-8?B?U2HFoW8gR2FudGFy?= <[email protected]> writes:
>> > thanks for the info, but is there any solution, given that it's system
>> > tables?
>>
>> Given the complexity of the query, I wonder if you're running into
>> problems with join_collapse_limit/from_collapse_limit preventing
>> the planner from considering all options.
>>
>> Also, as David already mentioned, ANALYZE on pg_class might help.
>>
>> regards, tom lane
>>
>
view thread (8+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: problem with query
In-Reply-To: <CAGB0_65WW2GRF9qRx112a+jVeWLPSw+tyGKeuu_eNp8x+e7AbA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox