Re: LIKE Query performance
От
Marcin Stępnicki
Тема
Re: LIKE Query performance
Дата
Msg-id
179149fe0901280127l1d1ec452x3ac1a8947ee66b64@mail.gmail.com
Ответ на
LIKE Query performance (Hari, Balaji)
Список
Дерево обсуждения
LIKE Query performance "Hari, Balaji" <Balaji_Hari@bmc.com>
Re: LIKE Query performance Marcin Stępnicki <mstepnicki@gmail.com>
Re: LIKE Query performance "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: LIKE Query performance Robert Haas <robertmhaas@gmail.com>
Re: LIKE Query performance Oleg Bartunov <oleg@sai.msu.su>
Re: LIKE Query performance "Hari, Balaji" <Balaji_Hari@bmc.com>
Re: LIKE Query performance Oleg Bartunov <oleg@sai.msu.su>
Re: LIKE Query performance "Hari, Balaji" <Balaji_Hari@bmc.com>
On Wed, Jan 28, 2009 at 12:41 AM, Hari, Balaji 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 по дате отправления