Re: Re: New Linux xfs/reiser file systems

Поиск
Список
Период
Сортировка
От Matthew Kirkwood
Тема Re: Re: New Linux xfs/reiser file systems
Дата
Msg-id Pine.LNX.4.30.0105031316200.20478-100000@sphinx.mythic-beasts.com
обсуждение исходный текст
Ответ на Re: New Linux xfs/reiser file systems  (mlw <markw@mohawksoft.com>)
Ответы Re: Re: New Linux xfs/reiser file systems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: mlw
Дата:
Сообщение: Re: New Linux xfs/reiser file systems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: \c connects as another user instead I want in psql