Re: How to create virtual indexes on postgres

From: Sreerama Manoj <manoj(dot)sreerama973(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to create virtual indexes on postgres
Date: 2015-02-26 12:17:59
Message-ID: CA+go1QGSuaqg6=eL2u12C0YaeO=iMGvUtT4Ut45cmuLAdm6gQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)paquier(at)gmail(dot)com>
wrote:

> On Thu, Feb 26, 2015 at 6:20 PM, Sreerama Manoj
> <manoj(dot)sreerama973(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-02-26 12:59:08 Re: New CF app deployment
Previous Message Asif Naeem 2015-02-26 12:15:59 Re: New CF app deployment