aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-04-08 00:32:26 +1200
committerDavid Rowley <drowley@postgresql.org>2024-04-08 00:32:26 +1200
commit6ed83d5fa55cf6e6c9d1be34ec10730c48eba763 (patch)
treec68c1b26f5e401bb8a24f471d72786a6c49103d9 /src/tutorial/syscat.source
parentf3ff7bf83bce11709add9a6d31d4bebe95e086e3 (diff)
downloadpostgresql-6ed83d5fa55cf6e6c9d1be34ec10730c48eba763.tar.gz
postgresql-6ed83d5fa55cf6e6c9d1be34ec10730c48eba763.zip
Use bump memory context for tuplesorts
29f6a959c added a bump allocator type for efficient compact allocations. Here we make use of this for non-bounded tuplesorts to store tuples. This is very space efficient when storing narrow tuples due to bump.c not having chunk headers. This means we can fit more tuples in work_mem before spilling to disk, or perform an in-memory sort touching fewer cacheline. Author: David Rowley Reviewed-by: Nathan Bossart Reviewed-by: Matthias van de Meent Reviewed-by: Tomas Vondra Reviewed-by: John Naylor Discussion: https://postgr.es/m/CAApHDvqGSpCU95TmM=Bp=6xjL_nLys4zdZOpfNyWBk97Xrdj2w@mail.gmail.com
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions