Is Optimizer smart enough? - Mailing list pgsql-hackers

From tmorelli@tmorelli.com.br
Subject Is Optimizer smart enough?
Date
Msg-id 20060110235023.B2CEEF368E@smtpi01.infolink.com.br
Whole thread Raw
Responses Re: Is Optimizer smart enough?
List pgsql-hackers
Hi,

Just for curiosity: suppose there is an excellent index frequently picked by
the optimizer. Suppose now that this index became extremelly fragmented with
thousands of updates. Without a REINDEX, will Optimizer still pick it? Or the
optimizer is smart enough to detect index fragmentation and discard it?

Is there something that I could do in btcostesimate function to detect
increasing index fragmentation?

best regards,

Eduardo Morelli


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Improving N-Distinct estimation by ANALYZE
Next
From: Michael Fuhr
Date:
Subject: cvs update taking a long time