public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jeff Ross <[email protected]>
To: [email protected]
Subject: Re: Query performance issue
Date: Tue, 22 Oct 2024 10:00:17 -0600
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAEzWdqdDTPxxzQYJfr_RdJTtLx-kNnc__z8f9nB25wVQuKzapg@mail.gmail.com>
References: <CAEzWdqfeaLov=e3Dk_wMpzh0yWhGcVJhundmL=QL1X_KqG_Jfw@mail.gmail.com>
<[email protected]>
<CAEzWdqdDTPxxzQYJfr_RdJTtLx-kNnc__z8f9nB25wVQuKzapg@mail.gmail.com>
On 10/21/24 23:31, yudhi s wrote:
>
> On Thu, Oct 17, 2024 at 3:06 AM Peter J. Holzer <[email protected]> wrote:
>
>
> The execution plan looks like a postgresql execution plan, not a mysql
> execution plan. Did you run this query on postgresql? That may be
> interesting for comparison purposese, but ultimately it is
> useless: You
> won't get mysql to work like postgresql, and any tips to speed up this
> query on postgresql (which is all you can expect on a postgresql
> mailing
> list) probably won't work on mysql.
>
>
>
> Tried running the same in postgres and below is the plan from bothe
> postgres and mysql. Can you please guide me to understand , if
> anything else can be done to make it better?
>
> https://gist.github.com/databasetech0073/746353a9e76d5e29b2fc6abdc80cdef8
>
Here's your postgres query as analyzed and made more readable by the
most excellent explain.depesz.com.
https://explain.depesz.com/s/VyeM#html
Under the hints tab are suggestions to bump your work_mem to avoid
writing sorts out to disk.
Jeff
view thread (9+ messages) latest in thread
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]
Subject: Re: Query performance issue
In-Reply-To: <[email protected]>
* 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