Re: LIKE Query performance

Поиск
Список
Период
Сортировка
От Marcin Stępnicki
Тема Re: LIKE Query performance
Дата
Msg-id 179149fe0901280127l1d1ec452x3ac1a8947ee66b64@mail.gmail.com
обсуждение исходный текст
Ответ на LIKE Query performance  ("Hari, Balaji" <Balaji_Hari@bmc.com>)
Список pgsql-performance
On Wed, Jan 28, 2009 at 12:41 AM, Hari, Balaji <Balaji_Hari@bmc.com> wrote:
> EXPLAIN ANALYZE SELECT event_id, category, current_session_number,
> description, event_type_id, realm_name, root_session_number, severity,
> source_name, target_key, target_name, timestamp, jdo_version FROM event
> WHERE description like '%mismatch%' ORDER BY timestamp desc;
(...)
> Is there any tweaks to force pgsql to use index on description?

How long is usually the description? For me it sounds like the job for
tsearch2 module, which should be in "contrib" section in 8.1.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Rohan Pethkar
Дата:
Сообщение: Need help in setting up DBT2 for PostgreSQL
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: LIKE Query performance