Re: CTE vs Subquery

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CTE vs Subquery
Дата
Msg-id 24672.1319561025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CTE vs Subquery  (Linos <info@linos.es>)
Ответы Re: CTE vs Subquery  (Linos <info@linos.es>)
Список pgsql-performance
Linos <info@linos.es> writes:
>     i am having any problems with performance of queries that uses CTE, can the
> join on a CTE use the index of the original table?

CTEs act as optimization fences.  This is a feature, not a bug.  Use
them when you want to isolate the evaluation of a subquery.

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Linos
Дата:
Сообщение: CTE vs Subquery
Следующее
От: Linos
Дата:
Сообщение: Re: CTE vs Subquery