Re: Does btrfs on Linux have a negative performance impact for PostgreSQL 13?

From: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
To: Christophe Pettus <xof(at)thebuild(dot)com>, Simon Connah <simon(dot)n(dot)connah(at)protonmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Does btrfs on Linux have a negative performance impact for PostgreSQL 13?
Date: 2021-04-24 19:52:44
Message-ID: a2ae956b-d98f-4041-4e49-e37626684be4@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 4/24/21 9:02 PM, Christophe Pettus wrote:
>
>
>> On Apr 24, 2021, at 11:27, Simon Connah <simon(dot)n(dot)connah(at)protonmail(dot)com> wrote:
>>
>> I'm curious, really. I use btrfs as my filesystem on my home systems and am setting up a server as I near releasing my project. I planned to use btrfs on the server, but it got me thinking about PostgreSQL 13. Does anyone know if it would have a major performance impact?
>
> This is a few years old, but Tomas Vondra did a presentation comparing major Linux file systems for PostgreSQL:
>
> https://www.slideshare.net/fuzzycz/postgresql-on-ext4-xfs-btrfs-and-zfs
>

That talk was ages ago, though. The general conclusions may be still
valid, but maybe btrfs improved a lot - I haven't done any testing since
then. Not sure about durability, but there are companies using btrfs so
perhaps it's fine - not sure.

Arguably, a lot of this also depends on the exact workload - the issues
I saw with btrfs were with OLTP stress test, it could have performed
much better with other workloads.

regards
Tomas

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Rory Campbell-Lange 2021-04-24 20:03:38 Re: Does btrfs on Linux have a negative performance impact for PostgreSQL 13?
Previous Message Christophe Pettus 2021-04-24 19:02:50 Re: Does btrfs on Linux have a negative performance impact for PostgreSQL 13?