pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Voras <ivoras@freebsd.org>
To: pgsql-performance@postgresql.org
Subject: Re: 8K recordsize bad on ZFS?
Date: Mon, 10 May 2010 21:13:54 +0200
Message-ID: <hs9ltj$c8q$1@dough.gmane.org> (raw)
In-Reply-To: <4BE852CE.9020802@agliodbs.com>
References: <4BE4ABC9.6040106@agliodbs.com>
	<AANLkTim6rVYoAZaspbEnsyE9LPmWGXWe4Van40Snldoj@mail.gmail.com>
	<4BE852CE.9020802@agliodbs.com>

On 05/10/10 20:39, Josh Berkus wrote:
> On 5/9/10 1:45 AM, Dimitri wrote:
>> Josh,
>>
>> it'll be great if you explain how did you change the records size to
>> 128K? - as this size is assigned on the file creation and cannot be
>> changed later - I suppose that you made a backup of your data and then
>> process a full restore.. is it so?
>
> You can change the recordsize of the zpool dynamically, then simply copy
> the data directory (with PostgreSQL shut down) to a new directory on
> that zpool.  This assumes that you have enough space on the zpool, of
> course.

Other things could have influenced your result - 260 MB/s vs 300 MB/s is 
close enough to be influenced by data position on (some of) the drives. 
(I'm not saying anything about the original question.)




view thread (10+ messages)  latest in thread

Message-ID: <hs9ltj$c8q$1@dough.gmane.org>
Permalink:  ../hs9ltj$c8q$1@dough.gmane.org/
Also on:    postgresql.org/message-id/hs9ltj$c8q$1@dough.gmane.org

 · 

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: ivoras@freebsd.org
  Subject: Re: 8K recordsize bad on ZFS?
  In-Reply-To: <hs9ltj$c8q$1@dough.gmane.org>

* 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