Re: Tsearch2 really slower than ilike ? - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: Tsearch2 really slower than ilike ?
Date
Msg-id 419A250C.9020300@commandprompt.com
Whole thread Raw
In response to Re: Tsearch2 really slower than ilike ?  (Hervé Piedvache <herve@elma.fr>)
Responses Re: Tsearch2 really slower than ilike ?  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-performance
>>or more.
>>
>>
>
>Yes site name ... is company names or web site name ... so not many word in
>each record ... but I don't understand why more words are more efficient than
>few words ?? sorry ...
>
>
Well there are a couple of reasons but the easiest one is index size.
An ILIKE btree index is in general going to be much smaller than a gist
index.
The smaller the index the faster it is searched.

Sincerely,

Joshua D. Drake



>Regards,
>
>


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


Attachment

pgsql-performance by date:

Previous
From: "James Gunzelman"
Date:
Subject: Efficient way to remove OID data
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Tsearch2 really slower than ilike ?