Re: Our trial to TPC-DS but optimizer made unreasonable plan

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Our trial to TPC-DS but optimizer made unreasonable plan
Дата
Msg-id CAJjS0u2k2tNcJJwXfMGnT_+jfZK3EYdTgWOuAadNPbEgt_xT=A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Our trial to TPC-DS but optimizer made unreasonable plan  (Kouhei Kaigai <kaigai@ak.jp.nec.com>)
Ответы Re: Our trial to TPC-DS but optimizer made unreasonable plan
Список pgsql-hackers
On Tue, Aug 18, 2015 at 5:59 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:
> BTW, did you register the patch on the upcoming commit-fest?
>
Not yet, it is in WIP status.

> I think it may be a helpful feature, if we can add alternative
> subquery-path towards cte-scan on set_cte_pathlist() and choose
> them according to the cost estimation.
>
Are you suggesting that we keep both subquery-path (whenever possible)
and cte-path so that optimizer can choose among them?

I could imagine that if we could support "materialize cte once and use
multiple times" execution, then we shall be able to benefit from
keeping cte-path. But seems we still don't support this execution
mode.

Regards,
Qingqing



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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: how to write/setup a C trigger function in a background worker
Следующее
От: Victor Wagner
Дата:
Сообщение: Re: Proposal: Implement failover on libpq connect level.