Re: Background writer process

From: Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Background writer process
Date: 2003-11-17 11:58:29
Message-ID: 3FB8B7E5.6000005@persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas SB SD wrote:
>>1. Open WAL files with O_SYNC|O_DIRECT or O_SYNC(Not sure if
> Without grouping WAL writes that does not fly. Iff however such grouping
> is implemented that should deliver optimal performance. I don't think flushing
> WAL to the OS early (before a tx commits) is necessary, since writing 8k or 256k
> to disk with one call takes nearly the same time. The WAL write would need to be
> done as soon as eighter 256k fill or a txn commits.

That means no special treatment to WAL files? If it works, great. There would be
single class of files to take care w.r.t sync. issue. Even more simpler.

Shridhar

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-11-17 14:34:51 commenting on polymorphic aggregates possible?
Previous Message Zeugswetter Andreas SB SD 2003-11-17 11:15:00 Re: Background writer process