Re: Parallel Btree index scan - Mailing list pgsql-general

From Rakesh Kumar
Subject Re: Parallel Btree index scan
Date
Msg-id 16103e6fe0e-1719-e6dc@webjas-vad073.srv.aolmail.net
Whole thread Raw
In response to Parallel Btree index scan  (Krithika Venkatesh <krithikavenkatesh31@gmail.com>)
List 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 by date:

Previous
From: adsj@novozymes.com (Adam Sjøgren)
Date:
Subject: Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100
Next
From: Jacek Kołodziej
Date:
Subject: READ COMMITTED vs. index-only scans