Re: Where else would you put a database? (was: Re: PATCH: Raw device IO for 2.1.131)

Edgar Toernig (froese@gmx.de)
Tue, 15 Dec 1998 07:07:01 +0100


Hi,

Gerard Roudier wrote:
>A database which is entirely implemented in user-land is technically
>a great crap in my opinion.

True.

david parsons asked:
> Where else would you put it? I suppose that you *could* write a
> database as lkm's (sybase on Novell, for example, but on that system
> _any_ third-party application is a lkm, with the expected hilarity
> when the application scribbles someplace it doesn't want to.)
>
> It's an application, and userland is an *ideal* place to put applications.

The buffer cache and the low level btree/record management should be in the
kernel. It's really hairy (and slow) to implement this for concurrent
access in user space. A generic locking mechanism would be another candidate.

Ciao, ET.

PS: I wish, there would be a register_fcntl() to implement such things.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/