pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Anuradha Ratnaweera <anuradha@gnu.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Oliver Vecernik <vecernik@aon.at>
Cc: pgsql-admin@postgresql.org
Subject: Re: Re: Re: disable wal
Date: Wed, 2 May 2001 16:07:51 -0400 (EDT)
Message-ID: <200105022007.f42K7pw25558@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0105020112210.533-100000@presario>

> 
> I understand that that WAL is an integral part of 7.1 and "disabling" is
> not possible. I also don't want to switch back to 7.0 becuse I _DO_ need
> the new features.
> 
> If I don't care for reliability (for reasons I outlined earlier in this
> thread), are there other parameters I can set to optimize for speed, such
> as wal_sync_method? I already have turned off fsync and log_connections. I
> can't turn on silent mode, because this machine is used for all testing
> purposes and messages are useful.
> 
> Also, it is possible to avoid postgresql from trying to force the OS to
> write data to the disk, so that WAL writes will be in disk cache for some
> time?

Yes, as Tom said, you can use postgres -F flag to disable fsync writes,
even with WAL in 7.1.


> 
> Anuradha
> 
> On Mon, 30 Apr 2001, Tom Lane wrote:
> 
> > There is no way to "disable WAL".  However, you might try running with
> > fsync turned off if you don't care about data integrity.
> > 
> > 			regards, tom lane
> > 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (7+ messages)

Message-ID: <200105022007.f42K7pw25558@candle.pha.pa.us>
Permalink:  ../200105022007.f42K7pw25558@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200105022007.f42K7pw25558@candle.pha.pa.us

 · 

reply

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: pgman@candle.pha.pa.us, anuradha@gnu.org, tgl@sss.pgh.pa.us, vecernik@aon.at
  Subject: Re: disable wal
  In-Reply-To: <200105022007.f42K7pw25558@candle.pha.pa.us>
  References: <Pine.LNX.4.21.0105020112210.533-100000@presario> <200105022007.f42K7pw25558@candle.pha.pa.us>

* 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