Re: again on index usage

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: again on index usage
Date: 2002-01-09 16:37:49
Message-ID: 200201091637.SAA20821@dcave.digsys.bg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>Tom Lane said:
> Hm. Okay, so the number-of-rows estimate is not too far off. I concur
> with Hiroshi's comment: the reason the indexscan is so fast must be that
> the table is clustered (physical order largely agrees with index order).
> This would obviously hold if the records were entered in order by
> ipdate; is that true?

Yes. But... do you want me to cluster it by ipaddr for example and try it
again? I understand the clustering might help with sequential scans, but why
would it help with index scans?

Daniel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2002-01-09 17:00:09 Re: --with-tcl build on AIX (and others) fails
Previous Message Thomas Lockhart 2002-01-09 16:24:40 Re: Time as keyword