Re: Out of swap space & memory

From: "Kevin Bartz" <kbartz(at)loyaltymatrix(dot)com>
To: "'Jeff'" <threshar(at)torgo(dot)978(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>, "'Manfred Koizar'" <mkoi-pg(at)aon(dot)at>
Subject: Re: Out of swap space & memory
Date: 2004-08-09 17:25:35
Message-ID: 20040809173129.EC7C2400E0@omta12.mta.everyone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well, I didn't set sort_mem, which (does it?) means it defaults to 512.
There are 2 gigs of RAM on the box and one gig of swap space. Should I have
set it to some different value? Thanks for your reply.

Kevin

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Jeff
Sent: Saturday, August 07, 2004 4:31 AM
To: Kevin Bartz
Cc: pgsql-general(at)postgresql(dot)org; 'Manfred Koizar'
Subject: Re: [GENERAL] Out of swap space & memory

On Aug 6, 2004, at 10:32 PM, Kevin Bartz wrote:
>
> -- de-dup the table

> MS SQL Server, with as much RAM and less clock speed, de-dups the
> table in
> about six minutes. The de-duped version has about 26,000,000 rows. The
> final
> line is where Postgres gobbles up all my swap and RAM and then conks
> out
> completely.

What is your sort_mem set to and how much ram is on the box?

--
Jeff Trout <jeff(at)jefftrout(dot)com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Vachon 2004-08-09 17:29:25 Implicit join
Previous Message Marco Colombo 2004-08-09 17:18:05 Re: Losing records when server hang