Postgres case insensitive searches - Mailing list pgsql-general

From bhanu udaya
Subject Postgres case insensitive searches
Date
Msg-id COL127-W20F6AB97900F1D8ACC8169D3760@phx.gbl
Whole thread Raw
In response to Postgres DB crashing  (bhanu udaya <udayabhanu1984@hotmail.com>)
Responses Re: Postgres case insensitive searches  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Re: Postgres case insensitive searches  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
Hello,
 
Grettings,
 
What is the best way of doing case insensitive searches in postgres using Like.
 
Ilike - does not use indexes
function based indexes are not as fast as required.
CITEXT - it still taking 600 ms - 1 second on a 2.2 million rows... does not use index
Collation Indexes creation with POSIX - does not really work.
GIST/GIN indexes are faster when using like, but not case insenstive.
 
Is there a better way of resolving this case insenstive searches with fast retrieval.
 
Thanks and Regards
Radha Krishna
 

pgsql-general by date:

Previous
From: Vincent Veyron
Date:
Subject: Re: utf8 errors
Next
From: Phoenix Kiula
Date:
Subject: How to REMOVE an "on delete cascade"?