Re: How to create virtual indexes on postgres

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: How to create virtual indexes on postgres
Дата
Msg-id CAB7nPqRoZM6RZjmDqKO7gEM_jWmUDdTjMAg-izO60GoVNuRoqQ@mail.gmail.com
обсуждение исходный текст
Ответ на How to create virtual indexes on postgres  (Sreerama Manoj <manoj.sreerama973@gmail.com>)
Ответы Re: How to create virtual indexes on postgres  (Sreerama Manoj <manoj.sreerama973@gmail.com>)
Список pgsql-hackers
On Thu, Feb 26, 2015 at 6:20 PM, Sreerama Manoj
<manoj.sreerama973@gmail.com> wrote:
> So my question was can we know whether the planner  will use the index
> before actually creating a real Index..or can we create "virtual" or
> "Hypothetical" Index those can only be known to the planner and not the user
> or Is there any alternative to do it..If present,share with me.

No, the index needs to be created to allow the planner to use it. This
reminds me of this project though, that if I recall correctly has
patches Postgres to allow the use of hypothetical indexes:
https://sourceforge.net/projects/hypotheticalind/
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Bug in pg_dump
Следующее
От: Asif Naeem
Дата:
Сообщение: Re: New CF app deployment