Add optimizer and executor support for parallel index-only scans.
Commit 5262f7a4 added similar support for parallel index scans; this extends that work to index-only scans. As with parallel index scans, this requires support from the index AM, so currently parallel index-only scans will only be possible for btree indexes. Rafia Sabih, reviewed and tested by Rahila Syed, Tushar Ahuja, and Amit Kapila Discussion: http://postgr.es/m/CAOGQiiPEAs4C=TBp0XShxBvnWXuzGL2u++Hm1=qnCpd6_Mf8Fw@mail.gmail.com
Showing
- src/backend/executor/execParallel.c 12 additions, 0 deletionssrc/backend/executor/execParallel.c
- src/backend/executor/nodeIndexonlyscan.c 135 additions, 19 deletionssrc/backend/executor/nodeIndexonlyscan.c
- src/backend/optimizer/path/indxpath.c 3 additions, 3 deletionssrc/backend/optimizer/path/indxpath.c
- src/include/executor/nodeIndexonlyscan.h 9 additions, 0 deletionssrc/include/executor/nodeIndexonlyscan.h
- src/include/nodes/execnodes.h 2 additions, 0 deletionssrc/include/nodes/execnodes.h
- src/test/regress/expected/select_parallel.out 25 additions, 4 deletionssrc/test/regress/expected/select_parallel.out
- src/test/regress/sql/select_parallel.sql 5 additions, 0 deletionssrc/test/regress/sql/select_parallel.sql
Loading
Please register or sign in to comment