Skip site navigation (1) Skip section navigation (2)

Re: Swapping

From: Tobias Brox <tobias(at)nordicbet(dot)com>
To: Carlos Henrique Reimer <carlosreimer(at)yahoo(dot)com(dot)br>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Swapping
Date: 2005-08-31 19:22:17
Message-ID: 20050831192217.GC5736@tobias.lan (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
[Carlos Henrique Reimer - Wed at 03:25:15PM -0300]
> I´m trying to tune a linux box with a 12 GB database and 4 GB RAM. First
> of all I would like to stop the swapping, so the shared_buffers and sort_mem
> were decreased but even so it started swapping two hours after DBMS started
> up.
> I would like to know some suggestions how to discover why is it swapping?

I agree with Tom Lane, nothing to worry about.  Swapping is not a problem
per se, aggressive swapping is a problem.  If you are absolutely sure you
want to ban all swapping, use "swapoff"?

I'd trust linux to handle swap/cache sensibly.  Eventually, become involved
with kernel hacking ;-)

Notice of Confidentiality: This email is sent unencrypted over the network,
and may be stored on several email servers; it can be read by third parties
as easy as a postcard.  Do not rely on email for confidential information.

In response to

  • Swapping at 2005-08-31 18:25:15 from Carlos Henrique Reimer


pgsql-performance by date

Next:From: Tobias BroxDate: 2005-08-31 19:33:17
Subject: Re: Swapping
Previous:From: Morgan KitaDate: 2005-08-31 19:17:38
Subject: Big question on insert performance/using COPY FROM

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group