Re: explicit JOIN faster than implicit?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explicit JOIN faster than implicit?
Дата
Msg-id 2808.1249513837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на explicit JOIN faster than implicit?  (Eric Schwarzenbach <subscriber@blackbrook.org>)
Список 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 по дате отправления:

Предыдущее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: PREPARE query with IN?
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: explicit JOIN faster than implicit?