Re: full-text indexing

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jim Richards <grumpy(at)cyber4(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: full-text indexing
Date: 2000-04-19 02:19:38
Message-ID: 200004190219.WAA18558@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> At 08:40 PM 18/04/00 -0400, Bruce Momjian wrote:
>
> >I have one word for you: CLUSTER. Without it, index lookups are too
> >slow. With it, they are rapid. I have done some work like this
> >commerically with Ingres, which has an ISAM type that keeps the matching
> >rows pretty close on a newly-created ISAM index. In PostgreSQL, and
> >regular CLUSTER will keep you good.
>
> The only down side of CLUSTER is that you loose your other keys on the
> table, including a primary key, so you loose out on your intregrity checks,
> which you the have to explictily re-apply with CREATE UNQIUE INDEX ...
>

Yes, you basically have to recreate them after CLUSTER.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-04-19 03:11:48 Re: full-text indexing
Previous Message Jim Richards 2000-04-19 01:27:02 Re: full-text indexing