postgresql/src/backend
Robert Haas 0011c0091e Improve memory management for external sorts.
Introduce a new memory context which stores tuple data, and reset it
at the end of each merge pass; this helps avoid memory fragmentation
and, consequently, overallocation.  Also, for the final merge patch,
eliminate memory context chunk header overhead entirely by allocating
all of the memory used for buffering tuples during the merge in a
single chunk.  Since this modestly increases the number of tuples we
can store, grow the memtuples array a bit so that we're less likely to
run short of slots there.

Peter Geoghegan.  Review and testing of patches in this series by
Jeff Janes, Greg Stark, Mithun Cy, and me.
2016-03-17 16:10:41 -04:00
..
access Fix typos. 2016-03-15 18:06:11 -04:00
bootstrap Provide much better wait information in pg_stat_activity. 2016-03-10 12:44:09 -05:00
catalog Add simple VACUUM progress reporting. 2016-03-15 13:32:56 -04:00
commands Fix problems in commit c16dc1aca5. 2016-03-16 13:54:04 -04:00
executor Avoid incorrectly indicating exclusion constraint wait 2016-03-15 18:04:39 -04:00
foreign Remove a couple of useless pstrdup() calls. 2016-03-09 23:29:05 -05:00
lib Add two HyperLogLog functions 2016-01-19 17:40:15 -03:00
libpq Fix typos. 2016-03-15 18:06:11 -04:00
main Avoid crash on old Windows with AVX2-capable CPU for VS2013 builds 2016-03-10 14:10:18 +01:00
nodes Rethink representation of PathTargets. 2016-03-14 16:59:59 -04:00
optimizer Fix typos. 2016-03-17 07:26:20 -04:00
parser Fix typos. 2016-03-15 18:06:11 -04:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Windows: Make pg_ctl reliably detect service status 2016-01-07 11:59:08 -03:00
postmaster Another comment update. 2016-03-16 14:28:25 -04:00
regex Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:12:16 -05:00
replication Provide much better wait information in pg_stat_activity. 2016-03-10 12:44:09 -05:00
rewrite Improve error message for rejecting RETURNING clauses with dropped columns. 2016-02-29 19:11:38 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Add idle_in_transaction_session_timeout. 2016-03-16 11:30:45 -04:00
tcop Add idle_in_transaction_session_timeout. 2016-03-16 11:30:45 -04:00
tsearch Improve support of Hunspell 2016-03-17 17:23:38 +03:00
utils Improve memory management for external sorts. 2016-03-17 16:10:41 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Add support for systemd service notifications 2016-02-02 21:04:29 -05:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00