Re: 7.0.2 issues / Geocrawler - Mailing list pgsql-hackers

From Tim Perdue
Subject Re: 7.0.2 issues / Geocrawler
Date
Msg-id 396C8B55.BE19920A@valinux.com
Whole thread Raw
In response to 7.0.2 issues / Geocrawler  (Tim Perdue <tperdue@valinux.com>)
Responses Re: 7.0.2 issues / Geocrawler
Re: 7.0.2 issues / Geocrawler
List pgsql-hackers
"Ross J. Reedstrom" wrote:
> Tim, why are you building a multikey index, especially one containing a
> large text field? It's almost never a win to index a text field, unless

This is not a key on a text field.

The keys are:

mail_list (example, the PHP mailing list=1)
mail_year (1999)
mail_month (July=7)

Yes it is a multi-key index, and the matches are exact.

Someone else asked why I have separated these fields out from the
mail_date.

If I didn't, and I wanted to see the messages for this month, I'd have
to regex and that would overwhelm the database.

Tim

-- 
Founder - PHPBuilder.com / Geocrawler.com
Lead Developer - SourceForge
VA Linux Systems
408-542-5723


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Vacuum only with 20% old tuples
Next
From: Philip Warner
Date:
Subject: RE: [GENERAL] RE: pg_dump & blobs - editable dump?