pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org, Yaroslav Mazurak <yamazurak@Lviv.Bank.Gov.UA>
Subject: Re: PostgreSQL performance problem -> tuning
Date: Thu, 07 Aug 2003 13:07:36 +0530
Message-ID: <3F324F18.6307.4A8BB7A@localhost> (raw)
In-Reply-To: <3F31FA33.1050009@lviv.bank.gov.ua>
References: <49274.192.168.1.32.1060184304.squirrel@mainbox.archonet.com>

On 7 Aug 2003 at 10:05, Yaroslav Mazurak wrote:
> > It needs to reflect how much cache the system is using - try the "free"
> > command to see figures.
> 
> 	I'm not found "free" utility on FreeBSD 4.7. :(

<rant>
Grr.. I don't like freeBSD for it's top output.Active/inactive/Wired.. Grr.. 
why can't it be shared buffered and cached? Same goes for HP-UX top. Looking at 
it one gets hardly any real information.. Anyway that's just me..
</rant>

 Top on freeBSD seems pretty unintuituive em but if you find any documentation 
on that, that would help you. ( Haven't booted in freeBSD in ages so no data 
out of my head..)

You can try various sysctls on freeBSD. Basicalyl idea is to find out how much 
of memory is used and how much is cached. FreeBSD must be providing that one in 
some form..

IIRC there is a limit on filesystem cache on freeBSD. 300MB by default. If that 
is the case, you might have to raise it to make effective_cache_size really 
effective..

HTH

Bye
 Shridhar

--
Another war ... must it always be so?  How many comrades have we lostin this 
way? ...  Obedience.  Duty.  Death, and more death ...		-- Romulan Commander, 
"Balance of Terror", stardate 1709.2




view thread (24+ messages)  latest in thread

Message-ID: <3F324F18.6307.4A8BB7A@localhost>
Permalink:  ../3F324F18.6307.4A8BB7A@localhost/
Also on:    postgresql.org/message-id/3F324F18.6307.4A8BB7A@localhost

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: shridhar_daithankar@persistent.co.in, yamazurak@Lviv.Bank.Gov.UA
  Subject: Re: PostgreSQL performance problem -> tuning
  In-Reply-To: <3F324F18.6307.4A8BB7A@localhost>
  References: <49274.192.168.1.32.1060184304.squirrel@mainbox.archonet.com> <3F324F18.6307.4A8BB7A@localhost>

* 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