pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] out of memory
Date: Mon, 05 Nov 2012 09:30:30 -0800
Message-ID: <5097F7B6.4040300@hogranch.com> (raw)
In-Reply-To: <CA+TgmoYKfSY5-PcFqNJyYbe3sAxTc8mN=CL1MoXW+PDYdd3SVw@mail.gmail.com>
References: <CAK9do=wt-yZ2MrbgBwjhqMv-Be_UaFCO95K1MsB5-g2aZ26-BA@mail.gmail.com>
	<20121030.190859.2262955278129522321.t-ishii@sraoss.co.jp>
	<CA+TgmoYKfSY5-PcFqNJyYbe3sAxTc8mN=CL1MoXW+PDYdd3SVw@mail.gmail.com>

On 11/05/12 9:27 AM, Robert Haas wrote:
> That is, if we have a large datum that we're trying to
> send back to the client, could we perhaps chop off the first 50MB or
> so, do the encoding on that amount of data, send the data to the
> client, lather, rinse, repeat?

I'd suggest work_mem sized chunks for this?



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast





view thread (23+ messages)

Message-ID: <5097F7B6.4040300@hogranch.com>
Permalink:  ../5097F7B6.4040300@hogranch.com/
Also on:    postgresql.org/message-id/5097F7B6.4040300@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pierce@hogranch.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] out of memory
  In-Reply-To: <5097F7B6.4040300@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox