Re: Parallel Btree index scan

Поиск
Список
Период
Сортировка
От Rakesh Kumar
Тема Re: Parallel Btree index scan
Дата
Msg-id 16103e6fe0e-1719-e6dc@webjas-vad073.srv.aolmail.net
обсуждение исходный текст
Ответ на Parallel Btree index scan  (Krithika Venkatesh <krithikavenkatesh31@gmail.com>)
Список pgsql-general


> And what is the difference between index scan and index only scan.

Index scan:  Index lookup for key access plus read from data blocks to satisfy the query.

Index only scan: Index lookup for key access plus read from index pages itself to satisfy query. In other words, entire
querycan
 
be satisfied by index without bothering to go into data pages.  For eg: select count(*) from table where col1 = 123.
Assumingcol1
 
 is indexed, there is no need to visit data blocks.










В списке pgsql-general по дате отправления:

Предыдущее
От: adsj@novozymes.com (Adam Sjøgren)
Дата:
Сообщение: Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100
Следующее
От: Jacek Kołodziej
Дата:
Сообщение: READ COMMITTED vs. index-only scans