Re: GiST or GIN, I feel like I am doing something wrong

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Aaron <aaron(at)chasingnuts(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: GiST or GIN, I feel like I am doing something wrong
Date: 2009-06-17 15:30:03
Message-ID: 27246.1245252603@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aaron <aaron(at)chasingnuts(dot)com> writes:
> CREATE INDEX profile_images_fulltext_gin ON profile_images_fulltext
> USING gin(content);
> CREATE INDEX profile_images_fulltext_gist ON profile_images_fulltext
> USING gist(content);

What did you have maintenance_work_mem set to while you did this?
GIST doesn't care, but GIN likes to have lots of workspace while
building an index. I'm not entirely sure if small workspace only
affects build time, or if it could result in a bloated/inefficient
index ... but if the latter is true it might explain your results.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Kay 2009-06-17 15:43:06 Re: used for large media files
Previous Message Tom Lane 2009-06-17 15:19:32 Re: how to cancel a query in progress