pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Meixner <meixner@dvs1.informatik.tu-darmstadt.de>
To: Mario Weilguni <mweilguni@sime.com>
Cc: Manfred Koizar <mkoi-pg@aon.at>
Cc: pgsql-performance@postgresql.org
Subject: Re: Write ahead logging
Date: Fri, 21 Feb 2003 09:52:48 +0100
Message-ID: <3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de> (raw)
In-Reply-To: <000b01c2d8c2$54008350$8f01c00a@icomedias.com>
References: <3E5494DA.20003@dvs1.informatik.tu-darmstadt.de>
	<d2795vc9bk18269rns92abumarpaukvsqm@4ax.com>
	<000b01c2d8c2$54008350$8f01c00a@icomedias.com>

Mario Weilguni wrote:
>>>So the question is: has anybody verified, that the log is written to disk
>>>before returning from commit?
>>
>>Some (or all?) IDE disks are known to lie:  they report success as
>>soon as the data have reached the drive's RAM.
> 
> 
> under linux, hdparm -W can turn off the write cache of IDE disk, maybe you
> should try with write-caching turned off.

Yes, that made a big difference. Latency went up to 25-95ms.

Regards,

	Matthias Meixner

-- 
Matthias Meixner                       meixner@informatik.tu-darmstadt.de
Technische Universität Darmstadt
Datenbanken und Verteilte Systeme              Telefon (+49) 6151 16 6232
Wilhelminenstraße 7, D-64283 Darmstadt, Germany    Fax (+49) 6151 16 6229




view thread (6+ messages)  latest in thread

Message-ID: <3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de>
Permalink:  ../3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de/
Also on:    postgresql.org/message-id/3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de

 · 

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-performance@postgresql.org
  Cc: meixner@dvs1.informatik.tu-darmstadt.de, mweilguni@sime.com, mkoi-pg@aon.at
  Subject: Re: Write ahead logging
  In-Reply-To: <3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de>
  References: <3E5494DA.20003@dvs1.informatik.tu-darmstadt.de> <d2795vc9bk18269rns92abumarpaukvsqm@4ax.com> <000b01c2d8c2$54008350$8f01c00a@icomedias.com> <3E55E8E0.60201@dvs1.informatik.tu-darmstadt.de>

* 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