From: Robert Haas <robertmhaas@gmail.com>
To: Stefan Keller <sfkeller@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: How to configure a read-only database server?
Date: Sat, 23 Apr 2011 12:10:15 -0400
Message-ID: <0B4657E5-134C-409B-B0CC-A801F4299D7E@gmail.com> (raw)
In-Reply-To: <BANLkTinA9B=80cG8R=132RTxF52K=Mdfuw@mail.gmail.com>
References: <BANLkTinA9B=80cG8R=132RTxF52K=Mdfuw@mail.gmail.com>
On Apr 18, 2011, at 6:08 PM, Stefan Keller <sfkeller@gmail.com> wrote:
> I browsed the faq and looked at PostgreSQL performance books but I
> could not find the obvious:
> How to configure a read-only database server?
>
> I have a single-disk virtual Linux system and a read-only dataset
> which is exposed to internet and completely replaced from time to
> time.
>
> This is what I found so far:
>
> * Disabling autovacuum daemon.
> * Setting postgresql.conf parameters:
> fsync=off
> synchronous_commit=off
> full_page_writes=off
All of those speed up writes. I don't know that they will make any difference at all on a read-only workload.
> * What about wal_level and archive_mode?
Same with these.
>
...Robert
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: robertmhaas@gmail.com, sfkeller@gmail.com
Subject: Re: How to configure a read-only database server?
In-Reply-To: <0B4657E5-134C-409B-B0CC-A801F4299D7E@gmail.com>
References: <BANLkTinA9B=80cG8R=132RTxF52K=Mdfuw@mail.gmail.com> <0B4657E5-134C-409B-B0CC-A801F4299D7E@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