| От | Josh Berkus |
|---|---|
| Тема | Re: Another idea for index-only scans |
| Дата | |
| Msg-id | 200708151143.23960.josh@agliodbs.com обсуждение исходный текст |
| Ответ на | Another idea for index-only scans (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-hackers |
Bruce, > I have added another idea for index-only scans to the TODO list: > > A third idea would be for a heap scan to check if all rows are > > visible and if so set a per-table flag which can be checked by index > > scans. Any change to the table would have to clear the flag. To > > detect changes during the heap scan a counter could be set at the > > start and checked at the end --- if it is the same, the table has not > > been modified --- any table change would increment the counter. Seems marginal at best. Checking overlap between the index and the FSM/DSM and only check dirty pages seems more intelligent, and able to cover a larger number of cases. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера