Raw devices (was Re: Berkeley DB license)

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Raw devices (was Re: Berkeley DB license)
Date: 2000-05-20 04:31:02
Message-ID: Pine.BSO.4.10.10005200028500.21733-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 20 May 2000, Bruce Momjian wrote:

> And there is the problem of cache wiping, where a large sequential scan
> removes all other cached blocks from the buffer. I don't know a way to
> prevent that one, though we could have large sequential scans reuse
> their own buffer, rather than grabbing the oldest buffer.

On some systems, you can specify (or hint) to the kernel that the file you
are reading should not be buffered.

The only (completely) real solution for this is to use raw devices,
uncached by the kernel, without any filesystem overhead...

Are there any plans to support that?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-20 04:42:58 Re: Raw devices (was Re: Berkeley DB license)u
Previous Message Bruce Momjian 2000-05-20 04:14:17 Re: Berkeley DB license