Create Virtual Indexes on Postgres - Mailing list pgsql-general

From Sreerama Manoj
Subject Create Virtual Indexes on Postgres
Date
Msg-id CA+go1QGDi_QH4wdij8kGeAqzosPOSftCM=nCQuwgTVQm_w80gQ@mail.gmail.com
Whole thread Raw
Responses Re: Create Virtual Indexes on Postgres  (Neil Tiffin <neilt@neiltiffin.com>)
List pgsql-general
Hi,
     I use Postgres 9.4 database.Now,I am optimizing the queries by using the results of "explain" and "explain analyze",Sometimes I am creating Indexes to optimize them. But, I was not successful sometimes as even I create Index to optimize them, the planner is not using them .

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.

pgsql-general by date:

Previous
From: Sergey Shchukin
Date:
Subject: Re: [pgadmin-support] Issue with a hanging apply process on the replica db after vacuum works on primary
Next
From: Jim Nasby
Date:
Subject: Re: [HACKERS] Composite index and min()