Re: [BULK] Problems with vacuum!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Domenico Sgarbossa" <domenico(at)xtecnica(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [BULK] Problems with vacuum!
Date: 2004-06-18 15:11:03
Message-ID: 20554.1087571463@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Domenico Sgarbossa" <domenico(at)xtecnica(dot)com> writes:
> so when the users go home, i've got something like 15/20000kb free ram, the
> rest is cached and 0kb of swap...
> It seems that when pg_dump starts the cached memory isn't released so the
> system begin to swap,

A sane kernel should drop disk buffers rather than swapping. We heard
recently about a bug in some versions of the Linux kernel that cause it
to prefer swapping to discarding disk cache, though. It sounds like
that's what you're hitting. Look into newer kernels ...

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Stephan Szabo 2004-06-18 15:32:00 Re: *very* inefficient choice made by the planner (regarding
Previous Message Tom Lane 2004-06-18 14:57:07 Re: Major differences between oracle and postgres performance - what can I do ?