From: Simon Riggs <simon@2ndquadrant.com>
To: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: Decibel! <decibel@decibel.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Linux mis-reporting memory
Date: Fri, 21 Sep 2007 12:01:18 +0100
Message-ID: <1190372478.4202.17.camel@ebony.site> (raw)
In-Reply-To: <1190369325.4661.178.camel@PCD12478>
References: <20070920230400.GM95343@decibel.org>
<16213.1190329934@sss.pgh.pa.us>
<87r6ksa1jb.fsf@oxford.xeocode.com>
<1190363401.4661.116.camel@PCD12478>
<87r6ksuzf8.fsf@oxford.xeocode.com>
<1190369325.4661.178.camel@PCD12478>
On Fri, 2007-09-21 at 12:08 +0200, Csaba Nagy wrote:
> On Fri, 2007-09-21 at 10:43 +0100, Gregory Stark wrote:
> > The other possibility is that Postgres just hasn't even touched a large part
> > of its shared buffers.
> >
>
> But then how do you explain the example I gave, with a 5.5GB table
> seq-scanned 3 times, shared buffers set to 12 GB, and top still showing
> almost 100% memory as cached and no SWAP "used" ? In this case you can't
> say postgres didn't touch it's shared buffers - or a sequential scan
> won't use the shared buffers ?
Well, 6.5GB of shared_buffers could be swapped out and need not be
swapped back in to perform those 3 queries.
--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: simon@2ndquadrant.com, nagy@ecircle-ag.com, stark@enterprisedb.com, decibel@decibel.org
Subject: Re: Linux mis-reporting memory
In-Reply-To: <1190372478.4202.17.camel@ebony.site>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox