Re: Using CTE vs temporary tables

Поиск
Список
Период
Сортировка
От Adam Brusselback
Тема Re: Using CTE vs temporary tables
Дата
Msg-id CAMjNa7dH=Wg1t0JdxMU=OZetZ_Dm0sRrY9rxMbuMcQ7mKpsxEA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using CTE vs temporary tables  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
One thing to note, if this is a query you would like to run on a replica, temp tables are a non-starter.

I really wish that wasn't the case. I have quite a few analytical queries I had to optimize with temp tables and indexes, and I really wish I could run on my hot standby.

I in most cases I can't refactor them to use a CTE for performance reasons.

Anyways, my 2¢.
- Adam

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Using CTE vs temporary tables
Следующее
От: "Igal @ Lucee.org"
Дата:
Сообщение: How to tell which event was fired in Trigger function