Re: INDEXes - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: INDEXes
Date
Msg-id 200511042308.jA4N8Qw05731@candle.pha.pa.us
Whole thread Raw
In response to INDEXes  (Leonia Zając <lea03@poczta.onet.pl>)
List pgsql-admin
Leonia Zaj�c wrote:
> Li?cieHi !
>
> Can anybody say, HOW does the postgre sql query planer, or executer,
> prepers the query plan, if i have several indexes on my table ?

You can look at EXPLAIN to see the index chosen.  I have an "Internals
through Pictures" PDF on my home page below that outlines how the
decisions are made, plus there is the source code and various README
files that go into details about the optimizer.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Leonia Zając
Date:
Subject: INDEXes
Next
From: fabio guidi
Date:
Subject: Database Corruption