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

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 (view raw or flat)
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

pgsql-performance by date

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

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