pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: 8K recordsize bad on ZFS?
Date: Tue, 11 May 2010 18:01:48 -0700
Message-ID: <4BE9FDFC.40401@agliodbs.com> (raw)
In-Reply-To: <20100511134138.GB14663@oak.highrise.ca>
References: <4BE4ABC9.6040106@agliodbs.com>
	<AANLkTim6rVYoAZaspbEnsyE9LPmWGXWe4Van40Snldoj@mail.gmail.com>
	<4BE852CE.9020802@agliodbs.com>
	<hs9ltj$c8q$1@dough.gmane.org>
	<4BE85ED3.4010008@agliodbs.com>
	<j2w407d949e1005101301r9a1c0f7dk9995279fcd7c26a8@mail.gmail.com>
	<4BE877BE.8000908@agliodbs.com>
	<20100511134138.GB14663@oak.highrise.ca>


> Sure, but bulk load + reandom selects is going to *guarentee*
> fragmentatioon on a COW system (like ZFS, BTRFS, etc) as the selects
> start to write out all the hint-bit-dirtied blocks in random orders...
> 
> i.e. it doesn't take long to make an originally nicely continuous block
> random....

I'm testing with DD and Bonnie++, though, which create their own files.

For that matter, running an ETL procedure with a newly created database
on both recordsizes was notably (2.5x) faster on the 128K system.

So I don't think fragmentation is the difference.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com



view thread (10+ messages)

Message-ID: <4BE9FDFC.40401@agliodbs.com>
Permalink:  ../4BE9FDFC.40401@agliodbs.com/
Also on:    postgresql.org/message-id/4BE9FDFC.40401@agliodbs.com

 · 

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: josh@agliodbs.com
  Subject: Re: 8K recordsize bad on ZFS?
  In-Reply-To: <4BE9FDFC.40401@agliodbs.com>

* 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