Account for the effect of lossy pages when costing bitmap scans.

Robert Haas <rhaas@postgresql.org>

Commit: 5edc63bda68a77c4d38f0cbeae1c4271f9ef4100
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-11-10T21:50:50Z
Releases: 11.0
Account for the effect of lossy pages when costing bitmap scans.

Dilip Kumar, reviewed by Alexander Kumenkov, Amul Sul, and me.
Some final adjustments by me.

Discussion: http://postgr.es/m/CAFiTN-sYtqUOXQ4SpuhTv0Z9gD0si3YxZGv_PQAAMX8qbOotcg@mail.gmail.com

Files

PathChange+/−
src/backend/nodes/tidbitmap.c modified +25 −12
src/backend/optimizer/path/costsize.c modified +49 −10
src/include/nodes/tidbitmap.h modified +1 −0

Discussion