Re: Re: File system performance and pg_xlog (More info)

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: mlw <markw(at)mohawksoft(dot)com>, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: File system performance and pg_xlog (More info)
Date: 2001-05-07 18:51:18
Message-ID: m37kztdmc9.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:

> >From a portability standpoint, I think if we go anywhere, it would be to
> write directly into device files representing sections of a disk.

That makes sense to me. On "traditional" Unices, we could use the raw
character device for a partition (eg /dev/rdsk/* on Solaris), and on
Linux we'd use /dev/raw*, which is a mapping to a specific partition
established before PG startup.

I guess there would need to be a system table that keeps track of
(dev, offset, size) tuples for each WAL file.

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time... --Dylan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-07 19:53:25 Re: \c connects as another user instead I want in psql
Previous Message Bruce Momjian 2001-05-07 18:48:11 Re: NOCREATETABLE patch (was: Re: Please, help!(about Postgres))