From: Marco Bizzarri <marco.bizzarri@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: fsync off without a restart
Date: Thu, 28 Aug 2008 11:37:27 +0200
Message-ID: <3f0d61c40808280237g42f02d76hf1329fdf763f393c@mail.gmail.com> (raw)
In-Reply-To: <455333.74944.qm@web25807.mail.ukl.yahoo.com>
References: <455333.74944.qm@web25807.mail.ukl.yahoo.com>
On Wed, Aug 27, 2008 at 5:42 PM, Valentin Bogdanov <valiouk@yahoo.co.uk> wrote:
> Hi list,
>
> I have got a script that is inserting, updating heavily at the moment. So, I want to turn fsync off to speed things up but I don't want to interrupt the script.
>
> If I do `postgresql reload` or `kill -HUP postmaster_pid` woudl that apply the fsync change? By the way, I have already tried it and seems that it has worked.
>
> But I have got another question. On my debian system I have got `postgresql force-reload`. How does that differ from the plain reload? And what does it actually do under the hood?
If you're referencing to the init script (/etc/init.d/postgresql-XXX),
then they should be the same stuff.
Regards
Marco
--
Marco Bizzarri
http://iliveinpisa.blogspot.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 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-admin@postgresql.org
Cc: marco.bizzarri@gmail.com
Subject: Re: fsync off without a restart
In-Reply-To: <3f0d61c40808280237g42f02d76hf1329fdf763f393c@mail.gmail.com>
References: <455333.74944.qm@web25807.mail.ukl.yahoo.com> <3f0d61c40808280237g42f02d76hf1329fdf763f393c@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