Re: ltree + gist index performance degrades significantly over a night

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: CG <cgg007(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ltree + gist index performance degrades significantly over a night
Date: 2006-02-25 23:14:23
Message-ID: 20060225231423.GP82012@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 24, 2006 at 09:02:04AM -0800, CG wrote:
> I have a search table which I use for partial-match text searches:
<snip>
> For a string "Hello World" the ltree is created like 'h.e.l.l.o.w.o.r.l.d' ...
> If I wanted to find all rows with "orl" in them i would construct an lquery
> like '*.o.r.l.*' and use the "~" operator in the where clause. I would link to
> the table "items" by the item_id ...

Is there some reason you can't use tsearch2? I suspect it would probably
work better; if nothing else you'd probably get better support since a
lot more people use it.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2006-02-25 23:46:10 Re: Temporal Databases
Previous Message chris smith 2006-02-25 22:44:49 Re: Could DBmirror be done with the mechine using RPM installation instaed of souce code [tar.gz] ?