From: | Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> |
---|---|
To: | "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | AW: More Performance |
Date: | 2000-05-24 15:07:23 |
Message-ID: | 219F68D65015D011A8E000006F8590C604AF7D99@sdexcsrv1.f000.d0188.sd.spardat.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> The whole thing works perfectly after a VACUUM ANALYZE on the
> table.
>
> IMHO this is somewhat non-optimal. In the absence of information
> to the contrary, PostgreSQL should default to using an index if
> it might be appropriate, not ignore it.
There was lots of discussion about this issue, and I was one of those
who are 100% with you. The result was that Tom Lane tried to provide
defaults, that do use the indexes when stats are missing. This does work
quite well, only it seems to fail in this particular case.
Imho we should look at exactly this query and try to find why it ignores
the index, because it should not.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Zeugswetter Andreas SB | 2000-05-24 15:11:41 | AW: Performance (was: The New Slashdot Setup (includes MySqlserver)) |
Previous Message | Bruce Momjian | 2000-05-24 15:06:18 | Re: setproctitle() |