AW: CTE with JOIN of two tables is much faster than a regular query

Поиск
Список
Период
Сортировка
От
Тема AW: CTE with JOIN of two tables is much faster than a regular query
Дата
Msg-id 007201d43711$33120e20$99362a60$@gmail.com
обсуждение исходный текст
Ответ на Re: CTE with JOIN of two tables is much faster than a regular query  (Ravi Krishna <sravikrishna@aol.com>)
Ответы Re: AW: CTE with JOIN of two tables is much faster than a regular query  (Tim Cross <theophilusx@gmail.com>)
Список pgsql-general
> -----Ursprüngliche Nachricht-----
> Von: Ravi Krishna <sravikrishna@aol.com>
> Gesendet: Samstag, 18. August 2018 18:25
>
> > What can I do to improve the performance of the regular query without
> using a CTE?
>
> Why do you care ?  When I find that I can write a SQL 3 different ways, I will
> go for the most efficient one.  So why not accept the CTE version of this SQL.
> Just curious.

We're using object mapping / entity frameworks (e.g. XPO, Entity Framework Core). These frameworks support regular
queriesout-of-the box; a CTEs require additional effort and are more difficult to maintain.  

Regards
Klaus



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

Предыдущее
От: Ravi Krishna
Дата:
Сообщение: Re: CTE with JOIN of two tables is much faster than a regular query
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: regex match and special characters