| От | Daniel Kalchev |
|---|---|
| Тема | Re: again on index usage |
| Дата | |
| Msg-id | 200201091637.SAA20821@dcave.digsys.bg обсуждение |
| Ответ на | Re: again on index usage (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: again on index usage
|
| Список | pgsql-hackers |
>>>Tom Lane said:> Hm. Okay, so the number-of-rows estimate is not too far off. I concur> with Hiroshi's comment: the reasonthe indexscan is so fast must be that> the table is clustered (physical order largely agrees with index order).> Thiswould obviously hold if the records were entered in order by> ipdate; is that true? Yes. But... do you want me to cluster it by ipaddr for example and try it again? I understand the clustering might help with sequential scans, but why would it help with index scans? Daniel
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера