Search Postgresql Archives

Questions regarding indexes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux