By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,562 Members | 953 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,562 IT Pros & Developers. It's quick & easy.

postmaster out of memory....

P: n/a
Hello all!

when asking postgres to aggregate totals accross 4.5 or so Million records. The visible effect is that the postmaster will grow to the 3GB process limit and die without a core :(.
I have seen this same behaviour discussed back in 6.5 archives in the thread with subject "[SQL] How to avoid "Out of memory" using aggregate functions? ". Is this fixed? Why is the postmaster exceeding it's 102MB sort mem size when doing these queries and not paging out the data?

-Joe Maldonado

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On Fri, Feb 27, 2004 at 01:45:07PM -0500, Joe Maldonado wrote:
Hello all!

when asking postgres to aggregate totals accross 4.5 or so Million
records. The visible effect is that the postmaster will grow to the
3GB process limit and die without a core :(.
I have seen this same behaviour discussed back in 6.5 archives in the
thread with subject "[SQL] How to avoid "Out of memory" using aggregate
functions? ". Is this fixed? Why is the postmaster exceeding it's 102MB
sort mem size when doing these queries and not paging out the data?
What version? We aggregate million of value vairly often. What
aggregate?

Have you run ANALYZE recently?
--
Martijn van Oosterhout <kl*****@svana.org> http://svana.org/kleptog/ If the Catholic church can survive the printing press, science fiction
will certainly weather the advent of bookwarez.
http://craphound.com/ebooksneitherenorbooks.txt - Cory Doctorow


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAQRUwY5Twig3Ge+YRAvwCAJ0bZWxQ2iwvBAfxN+RzER yHCV1apgCgxq6m
NAAaaFgdyVWoxnXc0kgisEw=
=+Gr3
-----END PGP SIGNATURE-----

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.