Implement prefetching via posix_fadvise() for bitmap index scans. A new
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +50 −1 |
| src/backend/executor/nodeBitmapHeapscan.c | modified | +95 −1 |
| src/backend/storage/buffer/bufmgr.c | modified | +58 −1 |
| src/backend/storage/buffer/localbuf.c | modified | +38 −1 |
| src/backend/storage/file/fd.c | modified | +37 −1 |
| src/backend/storage/smgr/md.c | modified | +21 −1 |
| src/backend/storage/smgr/smgr.c | modified | +13 −2 |
| src/backend/utils/misc/guc.c | modified | +74 −2 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +4 −0 |
| src/include/nodes/execnodes.h | modified | +7 −1 |
| src/include/pg_config_manual.h | modified | +10 −1 |
| src/include/storage/buf_internals.h | modified | +4 −2 |
| src/include/storage/bufmgr.h | modified | +4 −1 |
| src/include/storage/fd.h | modified | +2 −1 |
| src/include/storage/smgr.h | modified | +5 −1 |