Re: WAL to RAW devices ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Vinogradovs <AVinogradovs(at)Clearpathnet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL to RAW devices ?
Date: 2007-09-01 00:08:10
Message-ID: 4778.1188605290@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Vinogradovs <AVinogradovs(at)Clearpathnet(dot)com> writes:
> WAL segments already have their structure. Filesystem would be an
> overhead,

Just because you'd like that to be true doesn't make it true. We have
to manage a variable number of active segments; track whether a given
segment is waiting for future use, active, waiting to be archived, etc;
manage status signaling to the archiver process; and so on. Now I'll
freely admit that using a filesystem is only one of the ways that those
problems could be attacked, but that's how they've been attacked in
Postgres. If you want to not have that functionality present then
you'd need to rewrite all that code and provide some other
infrastructure for it to use.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Vinogradovs 2007-09-01 00:18:13 Re: WAL to RAW devices ?
Previous Message Alex Vinogradovs 2007-08-31 23:49:36 Re: WAL to RAW devices ?