Re: Re: LIKE and indexes?

From: "Brent R(dot) Matzelle" <bmatzelle(at)yahoo(dot)com>
To: Alexander Jerusalem <alexander(dot)jerusalem(at)pop(dot)chello(dot)at>, adb <adb(at)Beast(dot)COM>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: LIKE and indexes?
Date: 2001-03-15 20:18:12
Message-ID: 200103152019.f2FKJFx56596@mail.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

3/15/2001 3:39:27 AM, Alexander Jerusalem <alexander(dot)jerusalem(at)pop(dot)chello(dot)at>
wrote:

>Thanks for your answer, Alex!
>
>I've done an EXPLAIN and I saw that no index was used although my SQL
>statement had a wild card only at the end as you pointed out ('blah%'). My
>guess is that this is because of the locale support.

How large is the index in question? I recall reading that PostgreSQL doesn't
utilize an index if the overhead of using it was calculated as higher than a
sequential scan.

Brent

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F. O'Connell 2001-03-15 20:23:16 infinity
Previous Message Brent R. Matzelle 2001-03-15 20:13:57 Re: ODBC