Re: Large table search question[Scanned]

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Large table search question[Scanned]
Дата
Msg-id 40BC8BE3.5040106@archonet.com
обсуждение исходный текст
Ответ на Re: Large table search question[Scanned]  ("Stijn Vanroye" <s.vanroye@Farcourier.com>)
Список 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 по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: More really old emails
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: after using pg_resetxlog, db lost