Re: tuplesort memory usage: grow_memtuples - Mailing list pgsql-hackers

From Robert Haas
Subject Re: tuplesort memory usage: grow_memtuples
Date
Msg-id CA+TgmobDaO2-7OdifL_F0Byh_bXywNiomVGwY8e=f-5Y-TrQEQ@mail.gmail.com
Whole thread Raw
In response to tuplesort memory usage: grow_memtuples  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap
Next
From: Robert Haas
Date:
Subject: Re: Posix Shared Mem patch