Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f42K8JA64845 for ; Wed, 2 May 2001 16:08:19 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f42K7pw25558; Wed, 2 May 2001 16:07:51 -0400 (EDT) From: Bruce Momjian Message-Id: <200105022007.f42K7pw25558@candle.pha.pa.us> Subject: Re: Re: Re: disable wal In-Reply-To: "from Anuradha Ratnaweera at May 2, 2001 01:24:08 am" To: Anuradha Ratnaweera Date: Wed, 2 May 2001 16:07:51 -0400 (EDT) CC: Tom Lane , Oliver Vecernik , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200105/6 X-Sequence-Number: 1336 > > 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