Skip site navigation (1) Skip section navigation (2)

Re: fsync off without a restart

From: "Marco Bizzarri" <marco(dot)bizzarri(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: fsync off without a restart
Date: 2008-08-28 09:37:27
Message-ID: 3f0d61c40808280237g42f02d76hf1329fdf763f393c@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Wed, Aug 27, 2008 at 5:42 PM, Valentin Bogdanov <valiouk(at)yahoo(dot)co(dot)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/

In response to

pgsql-admin by date

Next:From: Abraham, DannyDate: 2008-08-28 09:57:07
Subject: winsock error 10061 on Vista
Previous:From: Mahabaleshwarkar, Niraj (Niraj)Date: 2008-08-28 07:24:56
Subject: Service goes to maintenance state when stopping postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group