Re: Help with Query Tuning

Поиск
Список
Период
Сортировка
От tv@fuzzy.cz
Тема Re: Help with Query Tuning
Дата
Msg-id 4874ad87076c4b2c743083543cae2334.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на Re: Help with Query Tuning  (Adarsh Sharma <adarsh.sharma@orkash.com>)
Список 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 по дате отправления:

Предыдущее
От: Adarsh Sharma
Дата:
Сообщение: Re: Help with Query Tuning
Следующее
От: Tech Madhu
Дата:
Сообщение: Re: pg_xlog size