Re: Large table search question[Scanned]

From: Richard Huxton <dev(at)archonet(dot)com>
To: Stijn Vanroye <s(dot)vanroye(at)Farcourier(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Large table search question[Scanned]
Date: 2004-06-01 14:00:03
Message-ID: 40BC8BE3.5040106@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stijn Vanroye wrote:
> Thanks for the reply. I was afraid it would come down to testing each
> individual situation.µ The table I mentioned (6 million+ records)
> actually is a phonebook. And searching and filtering is possible on
> almost any combination of fields. So there's an index on each
> individual field now and that's it. Works relatively fast now anyway.

Keep an eye on the stats tables, and introduce compound indexes one at a
time would be my recommendation

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-06-01 14:04:13 Re: Running Totals and other stuff....
Previous Message Richard Huxton 2004-06-01 13:56:46 Re: after using pg_resetxlog, db lost