pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump out of memory for large table with LOB
Date: Wed, 14 Nov 2018 15:08:44 -0600
Message-ID: <31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.com> (raw)
In-Reply-To: <8FC5F25FF3EC4744ADFCF20CBA3F44BE016811C1EF@SRV-CAMTL-EXCH2.Forensictech.com>
References: <8FC5F25FF3EC4744ADFCF20CBA3F44BE016811BCEF@SRV-CAMTL-EXCH2.Forensictech.com>
	<73d2f4fb-3da4-1c09-8bff-88a35f16bcd2@anayrat.info>
	<8FC5F25FF3EC4744ADFCF20CBA3F44BE016811C1EF@SRV-CAMTL-EXCH2.Forensictech.com>

On 11/14/2018 11:14 AM, Jean-Marc Lessard wrote:
> Adrien Nayrat wrote:
> > With 17 million LO, it could eat lot of memory ;)
> Yes it does.
>
> I did several tests and here are my observations.
>
> First memory settings are:
> shared_buffers = 3GB
> work_mem = 32Mb
> maintenance_work_mem = 1GB
> effective_cache_size = 9MB
> bytea_output = 'escape'

Why escape instead of hex?


-- 
Angular momentum makes the world go 'round.

view thread (11+ messages)  latest in thread

Message-ID: <31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.com>
Permalink:  ../31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.com/
Also on:    postgresql.org/message-id/31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: pg_dump out of memory for large table with LOB
  In-Reply-To: <31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.com>
  References: <8FC5F25FF3EC4744ADFCF20CBA3F44BE016811BCEF@SRV-CAMTL-EXCH2.Forensictech.com> <73d2f4fb-3da4-1c09-8bff-88a35f16bcd2@anayrat.info> <8FC5F25FF3EC4744ADFCF20CBA3F44BE016811C1EF@SRV-CAMTL-EXCH2.Forensictech.com> <31706cdf-97bd-7a7b-47cc-2e90309725b6@gmail.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