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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3e0d80f) | patch
Include chunk overhead in hash table entry size estimate.
Sat, 4 Apr 2020 02:52:16 +0000 (19:52 -0700)
Sat, 4 Apr 2020 03:07:58 +0000 (20:07 -0700)
commit 0588ee63aa2d8c5765d086991555cd9acdd4d86f
Include chunk overhead in hash table entry size estimate.

Don't try to be precise about it, just use a constant 16 bytes of
chunk overhead. Being smarter would require knowing the memory context
where the chunk will be allocated, which is not known by all callers.

Discussion: https://postgr.es/m/20200325220936.il3ni2fj2j2b45y5@alap3.anarazel.de
src/backend/executor/nodeAgg.c diff | blob | blame | history
src/include/executor/nodeAgg.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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