Re: Help with Query Tuning - Mailing list pgsql-performance

From tv@fuzzy.cz
Subject Re: Help with Query Tuning
Date
Msg-id 4874ad87076c4b2c743083543cae2334.squirrel@sq.gransy.com
Whole thread Raw
In response to Re: Help with Query Tuning  (Adarsh Sharma <adarsh.sharma@orkash.com>)
List pgsql-performance
> *Modified Query :-
>
> *SELECT count(*)  from page_content
> WHERE publishing_date like '%2010%' and content_language='en' and
> content is not null and isprocessable = 1 and
> to_tsvectOR('english',content) @@ to_tsquery('english','Mujahid' ||
> 'jihad' || 'Militant' || 'fedayeen' || 'insurgent' || 'terrORist' ||
> 'cadre' || 'civilians' || 'police' || 'defence' || 'cops' || 'crpf' ||
> 'dsf' || 'ssb');

I guess there should be spaces between the words. This way it's just one
very long word 'MujahidjihadMilitantfedayeen....' and I doubt that's what
you're looking for.

regards
Tomas


pgsql-performance by date:

Previous
From: Adarsh Sharma
Date:
Subject: Re: Help with Query Tuning
Next
From: Tech Madhu
Date:
Subject: Re: pg_xlog size