Re: ZFS-FreeBSD + postgresql performance

From: Ivailo(dot)TANUSHEFF(at)raiffeisen(dot)bg
To: "Steven Hartland" <killing(at)multiplay(dot)co(dot)uk>
Cc: freebsd-fs(at)freebsd(dot)org, freebsd-jail(at)freebsd(dot)org, owner-freebsd-fs(at)freebsd(dot)org, "Patrick Dung" <patrick_dkt(at)yahoo(dot)com(dot)hk>,pgsql-admin(at)postgresql(dot)org,"Michael Schmiedgen" <schmiedgen(at)gmx(dot)net>
Subject: Re: ZFS-FreeBSD + postgresql performance
Date: 2013-10-28 06:55:29
Message-ID: OFA2082B0A.0C83667D-ONC2257C12.0025E1CF-C2257C12.00260AD4@LocalDomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Steven Hartland" <killing(at)multiplay(dot)co(dot)uk> wrote on 25.10.2013 19:19:54:

> From:
>
> "Steven Hartland" <killing(at)multiplay(dot)co(dot)uk>
>
> To:
>
> "Patrick Dung" <patrick_dkt(at)yahoo(dot)com(dot)hk>,
> <Ivailo(dot)TANUSHEFF(at)raiffeisen(dot)bg>, "Michael Schmiedgen"
<schmiedgen(at)gmx(dot)net>,
>
> Cc:
>
> <owner-freebsd-fs(at)freebsd(dot)org>, <freebsd-fs(at)freebsd(dot)org>, <pgsql-
> admin(at)postgresql(dot)org>, <freebsd-jail(at)freebsd(dot)org>
>
> Date:
>
> 25.10.2013 19:20
>
> Subject:
>
> Re: [ADMIN] ZFS-FreeBSD + postgresql performance
>
> ----- Original Message -----
> From: "Patrick Dung" <patrick_dkt(at)yahoo(dot)com(dot)hk>
> Sent: Friday, October 25, 2013 4:53 PM
> Subject: Re: [ADMIN] ZFS-FreeBSD + postgresql performance
>
>
> >> I would also recommend to use 4K sector size using
> >
> > gnop and zpool export/import.
>
> This will have no effect, the ashift for a pool is set at creation.
>
> Regards
> Steve
>

That's the idea: to set the ashift during the creation of the pool. Never
did that before?

gnop create -S 4096 /dev/gpt/disk0
gnop create -S 4096 /dev/gpt/disk1
zpool create mirror /dev/gpt/disk0.nop /dev/gpt/disk1.nop
zpool export zroot
gnop destroy /dev/gpt/disk0.nop
gnop destroy /dev/gpt/disk1.nop
zpool import zroot

Best regards,
Ivailo Tanusheff

DISCLAIMER: The contents of this e-mail are intended for the named addressee only. It contains information that may be privileged and/or confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Messages transported over the public Internet are susceptible to alteration. Raiffeisenbank (Bulgaria) EAD, Raiffeisen Asset Management (Bulgaria) EAD, Raiffeisen Insurance Broker EOOD, Raiffeisen Services EAD, Raiffeisen Leasing Bulgaria OOD, Raiffeisen Auto Leasing Bulgaria EOOD and Raiffeisen Real Estate EOOD shall not be liable for the message if altered, changed or falsified. ОГРАНИЧЕНИЕ НА ОТГОВОРНОСТТА: Съдържанието на това електронно съобщение е предназначено единствено за посочения получател. Съобщението съдържа информация, която може да бъде предназначена за ограничено ползване и/или поверителна. В случай че не сте указания получател на това съобщение или негов оторизиран представител, нямате право да го копирате или използвате, както и да разкривате съдържанието му пред трети лица. Ако сте го получили по грешка, моля да уведомите подателя незабавно и да изтриете това съобщение от системата. Електронните съобщения, разпространявани по Интернет могат да бъдат променяни. Райфайзенбанк (България) ЕАД, Райфайзен Асет Мениджмънт (България) ЕАД, Райфайзен Застрахователен Брокер ЕООД, Райфайзен Сървисиз ЕАД, Райфайзен Лизинг България ООД, Райфайзен Ауто Лизинг България ЕООД и Райфайзен Имоти ЕООД не носят отговорност за модифицирани, променени или фалшифицирани съобщения.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Steven Hartland 2013-10-28 09:27:42 Re: ZFS-FreeBSD + postgresql performance
Previous Message Stephen Frost 2013-10-26 19:48:54 Re: postgresql 9.1 out of memory