Re: 7.1.3 not using index

From: Daniel Kalchev <daniel(at)digsys(dot)bg>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.1.3 not using index
Date: 2001-12-03 21:51:21
Message-ID: 200112032151.XAA24091@dcave.digsys.bg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

By the way, now that it works, I am glad to prove you wrong on the optimizer
behavior on 7.1.3 :-)

My query

select * from r where d = 8;

still results in sequential scan:

Seq Scan on r (cost=0.00..527.16 rows=7191 width=16)

However, the query

select * from r where d = 1;

now results in index scan.

Index Scan using r_d_idx on r (cost=0.00..308.45 rows=719 width=16)

Not to say I am sufficiently confused - now to go on with some more testing...

Daniel

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Knox 2001-12-03 21:58:59 Re: Second call for platform testing
Previous Message Daniel Kalchev 2001-12-03 21:47:06 Re: 7.1.3 not using index