Re: proposal: be smarter about i/o patterns in index scan
В списке pgsql-hackers по дате отправления:
| От | Sailesh Krishnamurthy |
|---|---|
| Тема | Re: proposal: be smarter about i/o patterns in index scan |
| Дата | |
| Msg-id | mjqy8nqgyo1.fsf@cs.berkeley.edu обсуждение |
| Ответ на | proposal: be smarter about i/o patterns in index scan ("Jeffrey W. Baker" <jwbaker@acm.org>) |
| Список | pgsql-hackers |
Yes, fetching a RID list from an index scan, sorting 'em and then fetching from the table would be a very appreciable speedup for many queries. I would imagine that all the commercial engines do this (db2 calls it a sorted RID-list-fetch) .. and this has in fact been discussed on -hackers before. One issue for this is that there could be a slip between the cup and the lip .. ie., between the fetch from the index, the sort, and the fetch from the table a vaccuum could have taken place rendering TIDs invalid. This should however not be a show-stopper .. surely all that's needed is a lock against vaccuuming in the presence of a tid-list-fetch. -- Pip-pip Sailesh http://www.cs.berkeley.edu/~sailesh
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера