Re: [HACKERS] The dangers of "-F"

From: Zeugswetter Andreas IZ5 <Andreas(dot)Zeugswetter(at)telecom(dot)at>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] The dangers of "-F"
Date: 1999-06-24 08:07:35
Message-ID: 219F68D65015D011A8E000006F8590C60267B3AF@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> For instance, if there are assumptions that all data blocks are
> written before this fact is recorded in a log file, then
> "write data blocks" "fsynch" "write log" "fsynch" doesn't break
> that assumption,
>
Are we really doing a sync after the pg_log write ? While the sync
after datablock write seems necessary to guarantee consistency,
the sync after log write is actually not necessary to guarantee consistency.
Would it be a first step, to special case the writing to pg_log, as
to not sync (extra switch to backend) ? This would avoid the syncs
for read only transactions, since they don't cause data block writes.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hub.Org News Admin 1999-06-24 08:43:50
Previous Message Chris Bitmead 1999-06-24 07:16:23 Nested structures