Questions regarding indexes

Поиск
Список
Период
Сортировка
От Bruno Lavoie
Тема Questions regarding indexes
Дата
Msg-id 4970AC11.4020207@gmail.com
обсуждение исходный текст
Ответы Re: Questions regarding indexes
Re: Questions regarding indexes
Список pgsql-general
Hello,

are these statements true:
  • «You should always index fks. The only exception is when the matching unique or primary key is never updated or deleted» ?
  • «Small tables do not require indexes» ?
  • «Create an index if you frequently want to retrieve less than about ~15% of the rows in a large table»
  • «Index only columns with unique values, or only with a few duplicates»
Is it necessary to run ANALYZE on the table after any index creation to gather statistics about the index/column?

Thanks
Bruno Lavoie


В списке pgsql-general по дате отправления:

Предыдущее
От: Bruno Lavoie
Дата:
Сообщение: Re: Diff tool for two schema
Следующее
От: David Fetter
Дата:
Сообщение: Re: Question regarding new windowing functions in 8.4devel