pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
fsync off without a restart
2+ messages / 2 participants
[nested] [flat]

* fsync off without a restart
@ 2008-08-27 15:42 Valentin Bogdanov <valiouk@yahoo.co.uk>
  2008-08-28 09:37 ` Re: fsync off without a restart Marco Bizzarri <marco.bizzarri@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Valentin Bogdanov @ 2008-08-27 15:42 UTC (permalink / raw)
  To: pgsql-admin

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?

I am running Postgres 8.1.11 on Linux 2.6.18.

Regards,

Val

Send instant messages to your online friends http://uk.messenger.yahoo.com 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: fsync off without a restart
  2008-08-27 15:42 fsync off without a restart Valentin Bogdanov <valiouk@yahoo.co.uk>
@ 2008-08-28 09:37 ` Marco Bizzarri <marco.bizzarri@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Marco Bizzarri @ 2008-08-28 09:37 UTC (permalink / raw)
  To: pgsql-admin

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-08-28 09:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 15:42 fsync off without a restart Valentin Bogdanov <valiouk@yahoo.co.uk>
2008-08-28 09:37 ` Marco Bizzarri <marco.bizzarri@gmail.com>

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