Skip to content

[Question] Simple joins from request #2820

Answered by steve-chavez
Eddydpyl asked this question in Q&A
Discussion options

You must be logged in to vote

The results are identical, but the optimizer has a much easier time with the shorter query, which is a big deal for me

Can you share the EXPLAIN ANALYZE output for both queries?

Is there a way to make a request that triggers a query more like the shorter one?

A view or function would do.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Eddydpyl
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2819 on June 13, 2023 19:56.