From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Gavin Sherry <swm@alcove.com.au>
Cc: Dustin Sallings <dustin@spy.net>
Cc: TTK Ciar <ttk2@hardpoint.ciar.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: psql large RSS (1.6GB)
Date: Mon, 1 Nov 2004 09:04:44 -0500 (EST)
Message-ID: <200411011404.iA1E4i407690@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.58.0411020042050.5412@linuxworld.com.au>
Gavin Sherry wrote:
> On Sat, 30 Oct 2004, Dustin Sallings wrote:
>
> > > If the solution is to just write a little client that uses perl
> > > DBI to fetch rows one at a time and write them out, that's doable,
> > > but it would be nice if psql could be made to "just work" without
> > > the monster RSS.
> >
> > It wouldn't make a difference unless that driver implements the
> > underlying protocol on its own.
>
> Even though we can tell people to make use of cursors, it seems that
> memory usage for large result sets should be addressed. A quick search of
> the archives does not reveal any discussion about having libpq spill to
> disk if a result set reaches some threshold. Has this been canvassed in
> the past?
No, I don't remember hearing this discussed and I don't think most
people would want libpq spilling to disk by default.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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-performance@postgresql.org
Cc: pgman@candle.pha.pa.us, swm@alcove.com.au, dustin@spy.net, ttk2@hardpoint.ciar.org
Subject: Re: psql large RSS (1.6GB)
In-Reply-To: <200411011404.iA1E4i407690@candle.pha.pa.us>
References: <Pine.LNX.4.58.0411020042050.5412@linuxworld.com.au> <200411011404.iA1E4i407690@candle.pha.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