Re: Large table search question[Scanned] - Mailing list pgsql-general

From Richard Huxton
Subject Re: Large table search question[Scanned]
Date
Msg-id 40BC8BE3.5040106@archonet.com
Whole thread Raw
In response to Re: Large table search question[Scanned]  ("Stijn Vanroye" <s.vanroye@Farcourier.com>)
List 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

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: More really old emails
Next
From: Richard Huxton
Date:
Subject: Re: after using pg_resetxlog, db lost