Is there a point where there are too many indices or does postgres just chose out of all the indices on a table the one that matches the queries needs the best?
david
"David Blood" <david@matraex.com> writes: > Is there a point where there are too many indices or does postgres just > chose out of all the indices on a table the one that matches the queries > needs the best? It does choose, but each index adds overhead on inserts and updates (since the indexes have to be updated when the table is) so having indexes that you don't need will slow you down. -Doug -- Doug McNaught Wireboard Industries http://www.wireboard.com/ Custom software development, systems and network consulting. Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера