pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedParallel Btree index scan
2+ messages / 2 participants
[nested] [flat]
* Parallel Btree index scan
@ 2018-01-17 06:57 Krithika Venkatesh <krithikavenkatesh31@gmail.com>
2018-01-17 11:35 ` Re: Parallel Btree index scan Rakesh Kumar <rakeshkumar464@aol.com>
0 siblings, 1 reply; 2+ messages in thread
From: Krithika Venkatesh @ 2018-01-17 06:57 UTC (permalink / raw)
To: pgsql-general
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Parallel Btree index scan
2018-01-17 06:57 Parallel Btree index scan Krithika Venkatesh <krithikavenkatesh31@gmail.com>
@ 2018-01-17 11:35 ` Rakesh Kumar <rakeshkumar464@aol.com>
0 siblings, 0 replies; 2+ messages in thread
From: Rakesh Kumar @ 2018-01-17 11:35 UTC (permalink / raw)
To: 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 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-01-17 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17 06:57 Parallel Btree index scan Krithika Venkatesh <krithikavenkatesh31@gmail.com>
2018-01-17 11:35 ` Rakesh Kumar <rakeshkumar464@aol.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox