Re: Full text search - query plan? PG 8.4.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Full text search - query plan? PG 8.4.1
Date: 2009-10-18 19:48:18
Message-ID: 9618.1255895298@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jesper Krogh <jesper(at)krogh(dot)cc> writes:
> Tom Lane wrote:
>> ... There's something strange about your tsvector index. Maybe
>> it's really huge because the documents are huge?

> huge is a relative term, but length(ts_vector(body)) is about 200 for
> each document. Is that huge?

It's bigger than the toy example I was trying, but not *that* much
bigger. I think maybe your index is bloated. Try dropping and
recreating it and see if the estimates change any.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Haas 2009-10-18 20:00:25 Re: Calculation of unused columns
Previous Message Jesper Krogh 2009-10-18 18:55:49 Re: Full text search - query plan? PG 8.4.1