Re: INDEXes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Leonia Zając <lea03(at)poczta(dot)onet(dot)pl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: INDEXes
Date: 2005-11-04 23:08:26
Message-ID: 200511042308.jA4N8Qw05731@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Leonia Zajc 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

  • INDEXes at 2005-11-04 22:26:55 from Leonia Zając

Browse pgsql-admin by date

  From Date Subject
Next Message fabio guidi 2005-11-06 08:46:50 Database Corruption
Previous Message Leonia Zając 2005-11-04 22:26:55 INDEXes