Implement prefetching via posix_fadvise() for bitmap index scans. A new
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Jan 2009 05:10:45 +0000 (05:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Jan 2009 05:10:45 +0000 (05:10 +0000)
commit179b42b1cab8cb08ade32d62dc9f8c8ed1364fe2
treec2853b5dfa383d0d3bf20bdd78f7faf4c79c96f9
parentb1dc710756852788ba0b0216f3d24a1c2911eab4
Implement prefetching via posix_fadvise() for bitmap index scans.  A new
GUC variable effective_io_concurrency controls how many concurrent block
prefetch requests will be issued.

(The best way to handle this for plain index scans is still under debate,
so that part is not applied yet --- tgl)

Greg Stark
15 files changed:
doc/src/sgml/config.sgml
src/backend/executor/nodeBitmapHeapscan.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/backend/storage/file/fd.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/smgr.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/nodes/execnodes.h
src/include/pg_config_manual.h
src/include/storage/buf_internals.h
src/include/storage/bufmgr.h
src/include/storage/fd.h
src/include/storage/smgr.h