postgresql/contrib/bloom
Robert Haas 9da0cc3528 Support parallel btree index builds.
To make this work, tuplesort.c and logtape.c must also support
parallelism, so this patch adds that infrastructure and then applies
it to the particular case of parallel btree index builds.  Testing
to date shows that this can often be 2-3x faster than a serial
index build.

The model for deciding how many workers to use is fairly primitive
at present, but it's better than not having the feature.  We can
refine it as we get more experience.

Peter Geoghegan with some help from Rushabh Lathia.  While Heikki
Linnakangas is not an author of this patch, he wrote other patches
without which this feature would not have been possible, and
therefore the release notes should possibly credit him as an author
of this feature.  Reviewed by Claudio Freire, Heikki Linnakangas,
Thomas Munro, Tels, Amit Kapila, me.

Discussion: http://postgr.es/m/CAM3SWZQKM=Pzc=CAHzRixKjp2eO5Q0Jg1SoFQqeXFQ647JiwqQ@mail.gmail.com
Discussion: http://postgr.es/m/CAH2-Wz=AxWqDoVvGU7dq856S4r6sJAj6DBn7VMtigkB33N5eyg@mail.gmail.com
2018-02-02 13:32:44 -05:00
..
expected Add more tests for reloptions 2017-10-19 14:22:05 +02:00
sql Add more tests for reloptions 2017-10-19 14:22:05 +02:00
t Tighten test in contrib/bloom/t/001_wal.pl. 2017-11-10 12:30:01 -05:00
.gitignore Bloom index contrib module 2016-04-01 16:42:24 +03:00
Makefile Bloom index contrib module 2016-04-01 16:42:24 +03:00
blcost.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
blinsert.c Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
bloom--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
bloom.control Bloom index contrib module 2016-04-01 16:42:24 +03:00
bloom.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
blscan.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
blutils.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
blvacuum.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
blvalidate.c Update copyright for 2018 2018-01-02 23:30:12 -05:00