From: | Cott Lang <cott(at)internetstaff(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: What is WAL used for? |
Date: | 2003-12-06 16:19:48 |
Message-ID: | 1070727587.4679.23.camel@blackbox |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 2003-12-05 at 02:40, Thierry Missimilly wrote:
> With the data=writeback mode, I increase the TPS by 18% and dicrease the wait
> I/O from 54% to 30%.
> I did not change my filesystem to ext2 as I have to have to cancel the partition
> and recreate all the database. Futhermore, i have understood that journaled
> filesystem allowed better and faster fsck after a Power off crash and it is not
> redundant with the WAL Crash recovery.
> I think that "journaling" is at file system level and WAL is above in the
> Database level. What happen if the xlog filesystem has been breakdown by a power
> off. All the Data concisentcy done by PG will be lost. I hope that data stored
> in the FS journal, can avoid that.
What's the recommended method of changing an ext3 partition to
data=writeback mode on RH9?
I tried the tune2fs -j method to set the default journal type and
rebooted, but saw *no* performance differences, so I was wondering if
setting the default actually put it in writeback mode.
Does anyone know if there's an easy way to verify the mode, or if I'm
setting it wrong ?
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-06 16:25:12 | Re: pg_hba.conf change in 7.4 |
Previous Message | Mikolaj Kocikowski | 2003-12-06 15:50:14 | record and table size |