From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Richard Whidden <richard(at)armchair(dot)mb(dot)ca> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Tsearch Index Size and GiST vs. GIN |
Date: | 2006-11-07 19:56:40 |
Message-ID: | 1162929400.31124.415.camel@dogma.v10.wvs |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Mon, 2006-11-06 at 13:14 -0600, Richard Whidden wrote:
> Due to popular demand (1 person), I've compared sizes with 90 and 100
> fillfactors, along with using the new GIN index.
>
> Findings were not surprising, except for the GIN indexes, which doubled in
> size.
>
This is how I understand it after reading up on the subject:
GIN inserts many index entries for every record inserted in the table,
and each index entry points to many tuples.
GiST is a one-to-one relationship, one insert causes one index entry to
be inserted and that points to one record.
> After several ALTER/RE INDEXes, here they are:
>
> GiST
> ----
> 8.1 = 94990
> 8.2 FF90 = 106244 relpages (8k)
> 8.2 FF100 = 95049
>
> GIN
> ---
> FF100 = 197702
>
>
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Alain Roger | 2006-11-07 20:02:56 | Re: I'm lost :-( with FOR...IN |
Previous Message | Merlin Moncure | 2006-11-07 19:47:01 | Re: I'm lost :-( with FOR...IN |
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2006-11-07 20:12:29 | Re: Index ignored with "is not distinct from", 8.2 beta2 |
Previous Message | Andrew Dunstan | 2006-11-07 19:11:03 | Re: 8.2 Beta 3 Now Available for Download / Testing ... |