From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Arturas Mazeika <mazeika@gmail.com>
Cc: Dave Page <dpage@pgadmin.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server
Date: Tue, 09 Nov 2010 10:31:49 -0500
Message-ID: <18124.1289316709@sss.pgh.pa.us> (raw)
In-Reply-To: <4CD93240.30403@kaltenbrunner.cc>
References: <201010301429.o9UETDop059721@wwwmaster.postgresql.org>
<AANLkTik3q_BbsOJOHcvzPuGa0AxMGbxaVrvJBpoLODwB@mail.gmail.com>
<4CCCC6A5.5000601@gmail.com>
<AANLkTimO3MW9sTWR5yo5oRz+gBXqyHMn=yt6y4WJ3JtP@mail.gmail.com>
<4CD93240.30403@kaltenbrunner.cc>
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> well the usually problem is that it is fairly easy to get large (several
> hundred megabytes) large bytea objects into the database but upon
> retrieval we tend to take up to 3x the size of the object as actual
> memory consumption which causes us to hit all kind of limits(especially
> on 32bit boxes).
It occurs to me that one place that might be unnecessarily eating
backend memory during pg_dump is encoding conversion during COPY OUT.
Make sure that pg_dump isn't asking for a conversion to some other
encoding than what the database uses. I think the default is to avoid
conversion, so this might be a dead end --- but if for instance you
had PGCLIENTENCODING set in the client environment, it could bite you.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, stefan@kaltenbrunner.cc, robertmhaas@gmail.com, mazeika@gmail.com, dpage@pgadmin.org
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server
In-Reply-To: <18124.1289316709@sss.pgh.pa.us>
References: <201010301429.o9UETDop059721@wwwmaster.postgresql.org> <AANLkTik3q_BbsOJOHcvzPuGa0AxMGbxaVrvJBpoLODwB@mail.gmail.com> <4CCCC6A5.5000601@gmail.com> <AANLkTimO3MW9sTWR5yo5oRz+gBXqyHMn=yt6y4WJ3JtP@mail.gmail.com> <4CD93240.30403@kaltenbrunner.cc> <18124.1289316709@sss.pgh.pa.us>
* 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