Re: WIP Join Removal

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: WIP Join Removal
Дата
Msg-id 1220356430.4371.382.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: WIP Join Removal  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-patches
On Tue, 2008-09-02 at 12:05 +0100, Gregory Stark wrote:

> I wonder if it would be more worthwhile to remove them and have a
> subsequent phase where we look for possible joins to *add*. So even if
> the user writes
> "select * from invoices where customer_id=?" the planner might be able
> to discover that it can find those records quicker by scanning
> customer, finding the matching <company_id,customer_id> and then using
> an index to look them up in invoices.

That's a good idea.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: WIP Join Removal
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: WIP Join Removal