Re: Re: New Linux xfs/reiser file systems - Mailing list pgsql-hackers

From Matthew Kirkwood
Subject Re: Re: New Linux xfs/reiser file systems
Date
Msg-id Pine.LNX.4.30.0105031316200.20478-100000@sphinx.mythic-beasts.com
Whole thread Raw
In response to Re: New Linux xfs/reiser file systems  (mlw <markw@mohawksoft.com>)
Responses Re: Re: New Linux xfs/reiser file systems  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 3 May 2001, mlw wrote:

> I would bet it is a huge amount of work to use a "table space" system
> and no one wants that.

From some stracing of 7.1, the most common syscall issued by
postgres is an lseek() to the end of the file, presumably to
find its length, which seems to happen up to about a dozen
times per (pgbench) transaction.

Tablespaces would solve this (not that lseek is a particularly
expensive operation, of course).

> Perhaps we can convince the Linux community to create a "dbfs" which
> is a stripped down simple no nonsense file system designed for
> applications like databases?

Sync-metadata ext2 should be fine.  Filesystems fsck pretty
quick when they contain only a few large files.

Otherwise, something like "smugfs" (now obsolete) might do.

Matthew.



pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Re: New Linux xfs/reiser file systems
Next
From: Tom Lane
Date:
Subject: Re: \c connects as another user instead I want in psql