Re: SOLVED - RE: Poor performance using CTE

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: SOLVED - RE: Poor performance using CTE
Дата
Msg-id CAEYLb_XLgrFBMM5Ce9ZBoa0K+NY1hpFXyvXeaf6yWbHOjn3-3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SOLVED - RE: Poor performance using CTE  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: SOLVED - RE: Poor performance using CTE
Re: SOLVED - RE: Poor performance using CTE
Список pgsql-performance
On 15 November 2012 01:46, Andrew Dunstan <andrew@dunslane.net> wrote:
> It cuts both ways. I have used CTEs a LOT precisely because this behaviour
> lets me get better plans. Without that I'll be back to using the "offset 0"
> hack.

Is the "OFFSET 0" hack really so bad? We've been telling people to do
that for years, so it's already something that we've effectively
committed to.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: SOLVED - RE: Poor performance using CTE
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Thousands databases or schemas