Re: [HACKERS] Re: indexing words slow

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: ocie(at)paracel(dot)com
Cc: M(dot)Boekhold(at)et(dot)tudelft(dot)nl, vadim(at)sable(dot)krasnoyarsk(dot)su, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: indexing words slow
Date: 1998-03-12 03:28:32
Message-ID: 199803120328.WAA02424@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > btw. to make things clearer on what I mean with '^lling' and '^tones', I
> > really mean "'^lling' *AND* '^tones'", ie. a join :) actually pretty good
> > don't ya think? :)
>
> This sounds like an unsatisfyable query, perhaps if the database
> figured this out, it could return zero rows without even hitting the
> index. If the first item matched, the first character is an 'l', if
> the second matches, a 't'. It can't be both an 'l' and a 't'!

He has to instances of the table, and is looking for index entries with
both words. We have only been sharing part of the conversation.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Albertson 1998-03-12 03:31:28 Re: [QUESTIONS] Does Storage Manager support >2GB tables?
Previous Message Bruce Momjian 1998-03-12 03:08:24 Re: [QUESTIONS] Does Storage Manager support >2GB tables?