Re: tuplesort memory usage: grow_memtuples
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Jeff Janes <jeff.janes@gmail.com>, Greg Smith <greg@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-06-26T21:06:47Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Incorporate a couple of recent tuplesort.c improvements into tuplestore.c.
- 2689abf07849 8.2.0 cited
On Sat, Mar 3, 2012 at 3:22 PM, Jeff Janes <jeff.janes@gmail.com> wrote: > When sorting small tuples, the memtuples array can use a substantial > fraction of the total per-tuple memory used. (In the case of pass by > value, it is all of it) > > The way it grows leads to sub-optimal memory usage. Greg, I see you signed up to review this on the 14th, but I don't see a review yet. Are you planning to post one soon? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company