From: Josh Close <narshe@gmail.com>
To: POSTGRES-PERFORMANCE <pgsql-performance@postgresql.org>
Subject: Re: how much mem to give postgres?
Date: Tue, 19 Oct 2004 23:02:30 -0500
Message-ID: <4a0cafe2041019210265656d4e@mail.gmail.com> (raw)
In-Reply-To: <01f301c4b63c$643340b0$6400a8c0@Nightingale>
References: <4a0cafe2041019153133f854e9@mail.gmail.com>
<01f301c4b63c$643340b0$6400a8c0@Nightingale>
On Wed, 20 Oct 2004 01:33:16 +0100, Simon Riggs <simon@2ndquadrant.com> wrote:
> ....and using what version of PostgreSQL are you using? 8.0beta, I hope?
I'm using version 7.4.5.
> > I was thinking I need to increase the amount of shared buffers, but
> > I've been told "the sweet spot for shared_buffers is usually on the
> > order of 10000 buffers". I already have it set at 21,078. If you have,
> > say 100 gigs of ram, are you supposed to still only give postgres
> > 10,000?
>
> Thats under test currently. My answer would be, "clearly not", others
> differ, for varying reasons.
Should I stick the rule of around 15% of mem then? I haven't found any
information on why you should use certain settings at all. I read
somewhere on the postgres site about using as much memory as possible,
but leave a little room for other processes. Whould that be an ok
theory? I'd kinda like to know why I should or shouldn't do something
like this.
-Josh
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: narshe@gmail.com
Subject: Re: how much mem to give postgres?
In-Reply-To: <4a0cafe2041019210265656d4e@mail.gmail.com>
* 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