Re: Index problem.... GIST (tsearch2) - Mailing list pgsql-general

From Tom Lane
Subject Re: Index problem.... GIST (tsearch2)
Date
Msg-id 27166.1097201394@sss.pgh.pa.us
Whole thread Raw
In response to Re: Index problem.... GIST (tsearch2)  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> 8.0 will have statistics on how often is_null() will return false. But that
> isn't really going to solve your problem since it still won't have any idea
> how many rows the full text search will find.

> I don't even know of anything you can do to influence the selectivity
> estimates of the full text search.

Write some code ;-) ?

Seriously, we desperately need some people thinking about how to do
statistics and selectivity estimates for these sorts of complex
indexable conditions.  Even crude estimates would be better than none
at all, which is where we're at now.  I think that as of 8.0 there is
sufficient infrastructure in place to collect datatype-specific stats
and do something with them --- but *what* to do is now the pressing
problem.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.0 questions
Next
From: Samik Raychaudhuri
Date:
Subject: CGI program cannot access database