Re: [PERFORM] reindex vs 'analyze'

2007-02-16 Thread Mark Stosberg
Tom Lane wrote: > Mark Stosberg <[EMAIL PROTECTED]> writes: >> Your suggestion about the pet_state index was right on. I tried >> "Analyze" on it, but still got the same bad estimate. However, I then >> used "reindex" on that index, and that fixed the estimate accuracy, >> which made the query r

Re: [PERFORM] reindex vs 'analyze'

2007-02-14 Thread Mark Stosberg
On Wed, Feb 14, 2007 at 01:07:23PM -0500, Tom Lane wrote: > Mark Stosberg <[EMAIL PROTECTED]> writes: > > Your suggestion about the pet_state index was right on. I tried > > "Analyze" on it, but still got the same bad estimate. However, I then > > used "reindex" on that index, and that fixed the

Re: [PERFORM] reindex vs 'analyze' (was: Re: cube operations slower than geo_distance() on production server)

2007-02-14 Thread Tom Lane
Mark Stosberg <[EMAIL PROTECTED]> writes: > Your suggestion about the pet_state index was right on. I tried > "Analyze" on it, but still got the same bad estimate. However, I then > used "reindex" on that index, and that fixed the estimate accuracy, > which made the query run faster! No, the es