Re: Pg+Linux swap use

Jeff Trout <threshar@torgo.978.org>

From: Jeff <threshar@torgo.978.org>
To: "alexandre :: aldeia digital" <alepaes@aldeiadigital.com.br>
Cc: pgsql-performance@postgresql.org
Date: 2003-10-31T12:41:14Z
Lists: pgsql-performance
On Thu, 30 Oct 2003 17:49:08 -0200 (BRST)
"alexandre :: aldeia digital" <alepaes@aldeiadigital.com.br> wrote:

> Both use: Only postgresql on server. Buffers = 8192, effective cache =
> 100000
> 


Well, I'm assuming you meant 1GB of ram, not 1MB :)

Check a ps auxw to see what is running. Perhaps X is running gobbling up
your precious mem.  But still.. with 1GB there should be virtually no
swap activity.  

How busy is the DB? How many connections?

and is sort_mem set high?

-- 
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/