Re: explicit JOIN faster than implicit? - Mailing list pgsql-general

From Tom Lane
Subject Re: explicit JOIN faster than implicit?
Date
Msg-id 2808.1249513837@sss.pgh.pa.us
Whole thread Raw
In response to explicit JOIN faster than implicit?  (Eric Schwarzenbach <subscriber@blackbrook.org>)
List pgsql-general
Eric Schwarzenbach <subscriber@blackbrook.org> writes:
> I'm in the process taking a large SELECT statement which had been
> written using implicit join syntax (that is, just listing all the tables
> in the FROM clause, and listing join conditions in the WHERE clause) and
> rewriting it to use explicit JOIN syntax (they are all inner joins).
> This has sped up the query by 50%.

Are you getting the same plan both ways?  Have you distinguished between
planning time and execution time?  How many tables in the query, and how
does that relate to your join_collapse_limit setting?

            regards, tom lane

pgsql-general by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: PREPARE query with IN?
Next
From: Filip Rembiałkowski
Date:
Subject: Re: explicit JOIN faster than implicit?