Re: tsearch query plan

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: tsearch query plan
Date: 2004-04-08 23:33:40
Message-ID: 200404081633.40388.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Lubratt 2004-04-09 03:28:37 Re: tsearch query plan
Previous Message Jaime Casanova 2004-04-08 22:42:25 Re: statistics