Re: 8K recordsize bad on ZFS?

From: Ivan Voras <ivoras(at)freebsd(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: 8K recordsize bad on ZFS?
Date: 2010-05-10 19:13:54
Message-ID: hs9ltj$c8q$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dimitri 2010-05-10 19:26:21 Re: 8K recordsize bad on ZFS?
Previous Message Josh Berkus 2010-05-10 18:39:10 Re: 8K recordsize bad on ZFS?