Re: How to create virtual indexes on postgres - Mailing list pgsql-hackers

From Sreerama Manoj
Subject Re: How to create virtual indexes on postgres
Date
Msg-id CA+go1QGSuaqg6=eL2u12C0YaeO=iMGvUtT4Ut45cmuLAdm6gQg@mail.gmail.com
Whole thread
In response to Re: How to create virtual indexes on postgres  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: How to create virtual indexes on postgres
List pgsql-hackers
But, it runs with  Postgres 9.1 version...But I use 9.4..I think I cant use that. Or as an alternative Is there any provision in postgres to know use(Increase in Performance) of an index before creating that index.

On Thu, Feb 26, 2015 at 5:37 PM, Michael Paquier <michael.paquier@gmail.com> wrote:
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 by date:

Previous
From: Asif Naeem
Date:
Subject: Re: New CF app deployment
Next
From: Michael Paquier
Date:
Subject: Re: New CF app deployment