AW: CTE with JOIN of two tables is much faster than a regular query - Mailing list pgsql-general

From
Subject AW: CTE with JOIN of two tables is much faster than a regular query
Date
Msg-id 007201d43711$33120e20$99362a60$@gmail.com
Whole thread Raw
In response to Re: CTE with JOIN of two tables is much faster than a regular query  (Ravi Krishna <sravikrishna@aol.com>)
Responses Re: AW: CTE with JOIN of two tables is much faster than a regular query
List 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 by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: CTE with JOIN of two tables is much faster than a regular query
Next
From: Adrian Klaver
Date:
Subject: Re: regex match and special characters