Re: go for a script! / ex: PostgreSQL vs. MySQL - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: go for a script! / ex: PostgreSQL vs. MySQL
Date
Msg-id 3F87932B.4050507@familyhealth.com.au
Whole thread Raw
In response to Re: go for a script! / ex: PostgreSQL vs. MySQL  (Vivek Khera <khera@kcilink.com>)
Responses Re: go for a script! / ex: PostgreSQL vs. MySQL
List pgsql-performance
> NB> shared_buffers = 1/16th of total memory
> NB> effective_cache_size = 80% of the supposed kernel cache.

I think Sean(?) mentioned this one for FreeBSD (Bash code):

echo "effective_cache_size = $((`sysctl -n vfs.hibufspace` / 8192))"

I've used it for my dedicated servers.  Is this calculation correct?

Chris


pgsql-performance by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Index/Foreign Key Question
Next
From: Sean Chittenden
Date:
Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL