Re: PostgreSQL NetApp and NFS - Mailing list pgsql-performance

From Dawid Kuroczko
Subject Re: PostgreSQL NetApp and NFS
Date
Msg-id 758d5e7f0803210234l785b115as6f4b42f42fa97f13@mail.gmail.com
Whole thread Raw
In response to PostgreSQL NetApp and NFS  ("Chris Hoover" <revoohc@gmail.com>)
Responses Re: PostgreSQL NetApp and NFS
List pgsql-performance
On Thu, Mar 20, 2008 at 8:32 PM, Chris Hoover <revoohc@gmail.com> wrote:
> I just found out that my company is planning on migrating my databases from
> our current ISCSI storage solution to NetApps connected via NFS.  I knew
> about the NetApp migration, but always assumed (and shame on me) that I
> would have direct attachments to the servers.

It is also possible to present block devices from NetApp over iSCSI or FC
(I am not sure about licensing model though).  You get all the goodies
like thin provisioning (only non-zero blocks are allocated), snapshots and
all, but you see it as a block device.  Works fine.

It is also worth to mention that NetApp utilizes somewhat "copy on write"
write strategy -- so whenever you modify a block, new version of the block
is written on its WAFL filesystem.  In practical terms it is quite resilient to
random writes (and that read performance is not stellar ;)).

I didn't try putting database on NFS mount directly, but I know NetApp
advertises that such setups are being used with Oracle database
(and allegedly Oracle website's databases are on such setup).
So I would feel quite safe with such a setup.

Oh, and don't forget to set rsize and wsize to 8K-32K (test and write here
what gives best performance!).

   Regards,
      Dawid

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL NetApp and NFS
Next
From: "Laurent Raufaste"
Date:
Subject: Re: PG writes a lot to the disk