| От | Tom Lane |
|---|---|
| Тема | Re: Air-traffic benchmark |
| Дата | |
| Msg-id | 25623.1262922201@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Air-traffic benchmark (Craig Ringer <craig@postnewspapers.com.au>) |
| Список | pgsql-performance |
Craig Ringer <craig@postnewspapers.com.au> writes:
> Can Pg even read partial records ? I thought it all operated on a page
> level, where if an index indicates that a particular value is present on
> a page the whole page gets read in and all records on the page are
> checked for the value of interest. No?
The whole page gets read, but we do know which record on the page
the index entry is pointing at.
(This statement is an oversimplification, because of lossy indexes
and lossy bitmap scans, but most of the time it's not a matter of
"checking all records on the page".)
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера