Parallel Btree index scan

Started by Krithika Venkateshabout 8 years ago2 messagesgeneral
Jump to latest
#1Krithika Venkatesh
krithikavenkatesh31@gmail.com

Hi All,

Can you please help me to understand what is parallel btree index scan in
Postgres 10.

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

Thanks,
Krithika

#2Rakesh Kumar
rakeshkumar464@aol.com
In reply to: Krithika Venkatesh (#1)
Re: Parallel Btree index scan

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 query can
be satisfied by index without bothering to go into data pages. For eg: select count(*) from table where col1 = 123. Assuming col1
is indexed, there is no need to visit data blocks.