pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: M. Edward (Ed) Borasky <znmeb@cesmail.net>
To: pgsql-performance@postgresql.org
Subject: Re: file system and raid performance
Date: Tue, 09 Dec 2008 06:35:49 -0800
Message-ID: <493E8245.2020304@cesmail.net> (raw)
In-Reply-To: <dcc563d10812080805l4b455776r62504e51d01f1e06@mail.gmail.com>
References: <200812062134.mB6LYw915484@momjian.us>
	<493CB7B4.3050504@cesmail.net>
	<dcc563d10812080805l4b455776r62504e51d01f1e06@mail.gmail.com>

Scott Marlowe wrote:
> On Sun, Dec 7, 2008 at 10:59 PM, M. Edward (Ed) Borasky
> <znmeb@cesmail.net> wrote:
>> Ah, but shouldn't a PostgreSQL (or any other database, for that matter)
>> have its own set of filesystems tuned to the application's I/O patterns?
>> Sure, there are some people who need to have all of their eggs in one
>> basket because they can't afford multiple baskets. For them, maybe the
>> OS defaults are the right choice. But if you're building a
>> database-specific server, you can optimize the I/O for that.
> 
> It's really about a cost / benefits analysis.  20 years ago file
> systems were slow and buggy and a database could, with little work,
> outperform them.  Nowadays, not so much.  I'm guessing that the extra
> cost and effort of maintaining a file system for pgsql outweighs any
> real gain you're likely to see performance wise.
> 
> But I'm sure that if you implemented one that outran XFS / ZFS / ext3
> et. al. people would want to hear about it.
> 
I guess I wasn't clear -- I didn't mean a PostgreSQL-specific filesystem
design, although BTRFS does have some things that are "RDBMS-friendly".
I meant that one should hand-tune existing filesystems / hardware for
optimum performance on specific workloads. The tablespaces in PostgreSQL
give you that kind of potential granularity, I think.

-- 
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P), WOM

"A mathematician is a device for turning coffee into theorems." --
Alfréd Rényi via Paul Erdős




view thread (34+ messages)

Message-ID: <493E8245.2020304@cesmail.net>
Permalink:  ../493E8245.2020304@cesmail.net/
Also on:    postgresql.org/message-id/493E8245.2020304@cesmail.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: znmeb@cesmail.net
  Subject: Re: file system and raid performance
  In-Reply-To: <493E8245.2020304@cesmail.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox