LIKE search with ending % not optimized in v8

From: Aditya Damle <aditya(at)skillnetinc(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: LIKE search with ending % not optimized in v8
Date: 2005-06-22 09:03:29
Message-ID: 20050622090329.34686.qmail@web32910.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello. I believe in earlier versions, a query of the
form
select attrib from ttt where attrib like 'foo%' would
be able to take advantage of an index. I have seen
this in the past. Currently I am using v8.0.3. From
what I can see is that the execultion plan seems to
use a seq scan and to totally ignore the index. Is
this the case?

-Aditya

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kjell Tore Fossbakk 2005-06-22 09:10:42 Re: Querying 19million records very slowly
Previous Message Michael Glaesemann 2005-06-22 08:55:35 Re: Querying 19million records very slowly