Re: First implementation of GIN for pg_trgm - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: First implementation of GIN for pg_trgm
Date
Msg-id 45DDB00D.1040402@sigaev.ru
Whole thread Raw
In response to Re: First implementation of GIN for pg_trgm  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Responses Re: First implementation of GIN for pg_trgm
List pgsql-patches
> I didn't see any improvement in terms of size of the index (14 MB for
> 642 738 rows in the index in both cases) or speed.
> Our dictionary table contains 78367 words and its size is 3 MB.
>
> Did I miss something?
Comparing integers is cheaper than strings. Although it hasn't significant
matter for index scan.

> The attached patch adds a RECHECK too. It seems to work correctly but
> the RECHECK COND costs a lot of time :/.

:(

How long is average length of strings in table?
--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: First implementation of GIN for pg_trgm
Next
From: "Guillaume Smet"
Date:
Subject: Re: First implementation of GIN for pg_trgm