Re: tsearch query plan - Mailing list pgsql-performance

From Josh Berkus
Subject Re: tsearch query plan
Date
Msg-id 200404081633.40388.josh@agliodbs.com
Whole thread Raw
In response to tsearch query plan  (Mark Lubratt <mark.lubratt@indeq.com>)
Responses Re: tsearch query plan
List pgsql-performance
Mark,

> I've got one question about query planning.  Is it understandable to
> have the query plan estimation be off by a couple of orders of
> magnitude?  Or, is it the fact that the cost estimation is small to
> begin with that the error between the actual and the estimated is
> "normal"?

Well, your example is not "a couple orders of magnitude".   6 vs. 32 is
actually pretty good accuracy.

Now, 6 vs 192 would potentially be a problem, let alone 32 vs 13,471.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


pgsql-performance by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: statistics
Next
From: Mark Lubratt
Date:
Subject: Re: tsearch query plan