git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 35438e5) | patch
Add infrastructure for sharing temporary files between backends.
Sat, 2 Dec 2017 00:30:56 +0000 (16:30 -0800)
Sat, 2 Dec 2017 00:30:56 +0000 (16:30 -0800)
commit dc6c4c9dc2a111519b76b22daaaac86c5608223b
Add infrastructure for sharing temporary files between backends.

SharedFileSet allows temporary files to be created by one backend and
then exported for read-only access by other backends, with clean-up
managed by reference counting associated with a DSM segment. This
includes changes to fd.c and buffile.c to support the new kind of
temporary file.

This will be used by an upcoming patch adding support for parallel
hash joins.

Author: Thomas Munro
Reviewed-By: Peter Geoghegan, Andres Freund, Robert Haas, Rushabh Lathia
Discussion:
https://postgr.es/m/CAEepm=2W=cOkiZxcg6qiFQP-dHUe09aqTrEMM7yJDrHMhDv_RA@mail.gmail.com
https://postgr.es/m/CAH2-WznJ_UgLux=_jTgCQ4yFz0iBntudsNKa1we3kN1BAG=88w@mail.gmail.com
src/backend/storage/file/Makefile diff | blob | blame | history
src/backend/storage/file/buffile.c diff | blob | blame | history
src/backend/storage/file/fd.c diff | blob | blame | history
src/backend/storage/file/sharedfileset.c [new file with mode: 0644] blob
src/include/storage/buffile.h diff | blob | blame | history
src/include/storage/fd.h diff | blob | blame | history
src/include/storage/sharedfileset.h [new file with mode: 0644] blob
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /