From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
"Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc:
Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>, pgsql-hackers(at)postgresql(dot)org
Subject:
Re: [PERFORM] psql -A (unaligned format) eats too much memory
Date:
2006-06-05 15:27:30
Message-ID:
20512.1149521250@sss.pgh.pa.us (view raw or flat )
Thread:
2006-06-04 22:01:24 from Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
2006-06-04 22:32:38 from Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
2006-06-05 15:22:59 from "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
2006-06-05 15:27:30 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-06-05 15:53:49 from "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
2006-06-05 16:00:35 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-06-05 16:48:12 from "Mark Woodward" <pgsql(at)mohawksoft(dot)com>
2006-06-05 16:40:38 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2006-06-05 17:01:45 from "Mark Woodward" <pgsql(at)mohawksoft(dot)com>
2006-06-05 17:03:24 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2006-06-05 17:17:31 from Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
2006-06-05 17:52:25 from Neil Conway <neilc(at)samurai(dot)com>
2006-06-05 18:10:24 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-06-06 12:30:12 from Hannu Krosing <hannu(at)skype(dot)net>
2006-06-06 13:48:43 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-06-06 14:39:19 from "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
2006-06-06 14:47:30 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2006-06-05 16:45:13 from Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
Lists:
pgsql-hackers pgsql-performance
"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> I've been able to verify this on 8.1.4; psql -A -t -c 'SELECT * FROM
> largetable' > /dev/null results in psql consuming vast quantities of
> memory. Why is this?
Is it different without the -A?
I'm reading this as just another uninformed complaint about libpq's
habit of buffering the whole query result. It's possible that there's
a memory leak in the -A path specifically, but nothing said so far
provided any evidence for that.
regards, tom lane
In response to
Responses
pgsql-performance by date
Next :From: Jim C. NasbyDate: 2006-06-05 15:53:49
Subject : Re: [PERFORM] psql -A (unaligned format) eats too much memory
Previous :From : Jim C. NasbyDate : 2006-06-05 15:22:59
Subject : Re: [PERFORM] psql -A (unaligned format) eats too much memory
pgsql-hackers by date
Next :From: Jim C. NasbyDate: 2006-06-05 15:53:49
Subject : Re: [PERFORM] psql -A (unaligned format) eats too much memory
Previous :From : Jim C. NasbyDate : 2006-06-05 15:22:59
Subject : Re: [PERFORM] psql -A (unaligned format) eats too much memory