Filesysstems - Mailing list pgsql-general

From Adrian von Bidder
Subject Filesysstems
Date
Msg-id 201003061455.34289@fortytwo.ch
Whole thread Raw
In response to Re: kernel version impact on PostgreSQL performance  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-general
Heyho!

On Friday 05 March 2010 20.18:46 Greg Smith wrote:
> The short version is that ext3 combined with regular hard drives has
> never been safe for database use by default,  [...]
> The change in ext4 [...] eliminating the source for that cheat.

Tangentially related: how is the behaviour [1] of pg when the db is located
on an extent based cow filesysstem like btrfs?  I'm not too sure about the
internals, but my understanding is that the mechanism is a bit similar to
what pg does with its mvcc: new content is written into empty space and then
later pointers are updated to point to the new content.

[1] I'd expect that there are no issues with reliability, assuming the fs is
bug-free.  I'm more worried about performance.  Wouldn't the table files get
fragmented more and more with updates?

cheers
-- vbi

--
featured product: vim - http://vim.org

Attachment

pgsql-general by date:

Previous
From: seiliki@so-net.net.tw
Date:
Subject: Libpq: copy file to bytea column
Next
From: Tom Lane
Date:
Subject: Re: 9.0 VACUUM FULL vs. ALTER TABLE?