AW: question about index cost estimates - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: question about index cost estimates
Date
Msg-id 219F68D65015D011A8E000006F8590C604AF7D8B@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
Responses Re: AW: question about index cost estimates
List pgsql-hackers
> It seemed to me that the critical ratios are #tuples fetched vs #pages
> in table and table size vs. cache size.  I could be wrong though...

Another metric that would be interesing is a number that represents 
the divergence of the heap order from the index sort order.

If heap data is more or less in the same order as the index 
(e.g. cluster index) the table size is irrelevant.
So the measure would be something like 
clustered*tablesize vs cache size instead of only tablesize.

Andreas


pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: RE: ODBC & v7.0(Rel) Errors with Users and Databases
Next
From: Dave Page
Date:
Subject: RE: MSSQL7 & PostgreSQL 7.0