pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Greg Smith <greg@2ndquadrant.com>
To: Pierre C <lists@peufeu.com>
To: Scott Carey <scott@richrelevance.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: " <david@lang.hm>
Cc: " <david@lang.hm>
Cc: Pgsqlperformance <pgsql-performance@postgresql.org>
Cc: Francisco Reyes <lists@stringsutils.com>
Subject: Re: 10K vs 15k rpm for analytics
Date: Tue, 09 Mar 2010 08:50:28 -0600
Message-ID: <4B960BD4020000250002FA5D@gw.wicourts.gov> (raw)
In-Reply-To: <op.u9ayvwj9eorkce@localhost>
References: <cone.1267562557.293175.32557.1000@shelca>
	<dcc563d11003021312k57e9c558n177e10ad16ab32b1@mail.gmail.com>
	<cone.1267565429.453229.32557.1000@shelca>
	<dcc563d11003021347h52f94812jf75b5937937a9ed4@mail.gmail.com>
	<alpine.DEB.2.00.1003021408340.5131@asgard.lang.hm>
	<06A22EB5-2D84-401C-B75F-7CA883695E0A@richrelevance.com>
	<4B95F222.6040504@2ndquadrant.com>
	<op.u9ayvwj9eorkce@localhost>

"Pierre C" <lists@peufeu.com> wrote:
> Greg Smith <greg@2ndquadrant.com> wrote:
 
>> I'm curious what you feel those weaknesses are.
> 
> Handling lots of small files, especially deleting them, is really
> slow on XFS.
> Databases don't care about that.
 
I know of at least one exception to that -- when we upgraded and got
a newer version of the kernel where XFS has write barriers on by
default, some database transactions which were creating and dropping
temporary tables in a loop became orders of magnitude slower.  Now,
that was a silly approach to getting the data that was needed and I
helped them rework the transactions, but something which had worked
acceptably suddenly didn't anymore.
 
Since we have a BBU hardware RAID controller, we can turn off write
barriers safely, at least according to this page:
 
http://xfs.org/index.php/XFS_FAQ#Q._Should_barriers_be_enabled_with_storage_which_has_a_persistent_w...
 
This reduces the penalty for creating and deleting lots of small
files.
 
-Kevin



view thread (47+ messages)  latest in thread

Message-ID: <4B960BD4020000250002FA5D@gw.wicourts.gov>
Permalink:  ../4B960BD4020000250002FA5D@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4B960BD4020000250002FA5D@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, greg@2ndquadrant.com, lists@peufeu.com, scott@richrelevance.com, scott.marlowe@gmail.com, david@lang.hm, lists@stringsutils.com
  Subject: Re: 10K vs 15k rpm for analytics
  In-Reply-To: <4B960BD4020000250002FA5D@gw.wicourts.gov>
  References: <cone.1267562557.293175.32557.1000@shelca> <dcc563d11003021312k57e9c558n177e10ad16ab32b1@mail.gmail.com> <cone.1267565429.453229.32557.1000@shelca> <dcc563d11003021347h52f94812jf75b5937937a9ed4@mail.gmail.com> <alpine.DEB.2.00.1003021408340.5131@asgard.lang.hm> <06A22EB5-2D84-401C-B75F-7CA883695E0A@richrelevance.com> <4B95F222.6040504@2ndquadrant.com> <op.u9ayvwj9eorkce@localhost> <4B960BD4020000250002FA5D@gw.wicourts.gov>

* 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