On Mon, 2011-06-20 at 10:58 -0500, Kevin Grittner wrote:
> Sushant Sinha <sushant...@gmail.com> wrote:
>  
> > I have a tsvector column docvector and a gin index on it
> > docmeta1_docvector_idx
> > 
> > I have a simple query "select * from docmeta1 where docvector @@
> > plainto_tsquery('english', 'free');" 
> > 
> > I find that the planner chooses a sequential scan of the table
> > even when the index performs orders of magnitude.
>  
> Did you ANALYZE the table after loading the data and building the
> index?
Yes and I mentioned that the row estimates are correct, which indicate
that the problem is somewhere else.

-Sushant.
 
> -Kevin



-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to