| От | Luca Ferrari |
|---|---|
| Тема | Re: help understanding analyze |
| Дата | |
| Msg-id | 200612102112.24964.fluca1978@infinito.it обсуждение |
| Ответ на | Re: help understanding analyze (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-general |
On Saturday 09 December 2006 11:46 Martijn van Oosterhout's cat, walking on the keyboard, wrote: > If it doesn't say "Index Scan" it's not using the index. > > At a guess your table is not big enough to make an index worthwhile. If > your table is only a few pages long, it's just not efficient to lookup > an index first. Dear Martijn, thanks for your explainations! I have checked the siz eof my table and, despite the number of rows, it has less pages then the index, thus the seq. scan is of course the faster one! Now I begin to understand a little better how the optimizer works. Thanks everyone, Luca
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера