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

Re: Linux machine aggressively clearing cache

From: Joshua Berkus <josh(at)agliodbs(dot)com>
To: Dave Crooke <dcrooke(at)gmail(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Linux machine aggressively clearing cache
Date: 2012-03-28 18:37:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
> This may just be a typo, but if you really did create write (dirty)
> block device cache by writing the pg_dump file somewhere, then that
> is what it's supposed to do ;) 

The pgdump was across the network.  So the only caching on the machine was read caching.

> Read cache of course does not need to be flushed and can simply be
> dumped when the memory is needed, and so Linux will keep more or
> less unlimited amounts of read cache until it needs the memory for
> something else ....

Right, that's the normal behavior.  Except not on this machine.


In response to


pgsql-performance by date

Next:From: Campbell, LanceDate: 2012-03-29 17:59:12
Subject: database slowdown while a lot of inserts occur
Previous:From: Merlin MoncureDate: 2012-03-28 16:39:57
Subject: Re: Distinct + Limit

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