Re: [PERFORM] Postgres on Netapp

Lists: pgsql-adminpgsql-performance
From: Shankar K <shan0075(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Postgres on Netapp
Date: 2004-01-12 21:45:45
Message-ID: 20040112214545.35952.qmail@web21106.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-performance

Hi There,

We are considering to use NetApp filer for a highly
busy 24*7 postgres database and the reason we chose
netapp, mostly being the "snapshot" functionality for
backing up database online. The filer would be mounted
on a rh linux server (7.3), 4g RAM, dual cpu with a
dedicated card for filer.

I'd appreciate if anyone could share your experience
in configuring things on the filer for optimal
performance or any recomendataion that i should be
aware of.

Thanks,
Shankar

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Shankar K <shan0075(at)yahoo(dot)com>, pgsql-admin(at)postgresql(dot)org
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] Postgres on Netapp
Date: 2004-01-16 16:53:18
Message-ID: 92970000.1074271998@lerlaptop-red.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-performance

--On Monday, January 12, 2004 13:45:45 -0800 Shankar K <shan0075(at)yahoo(dot)com>
wrote:

> Hi There,
>
> We are considering to use NetApp filer for a highly
> busy 24*7 postgres database and the reason we chose
> netapp, mostly being the "snapshot" functionality for
> backing up database online. The filer would be mounted
> on a rh linux server (7.3), 4g RAM, dual cpu with a
> dedicated card for filer.
>
> I'd appreciate if anyone could share your experience
> in configuring things on the filer for optimal
> performance or any recomendataion that i should be
> aware of.
I run a (not very busy) PG cluster on a NetAPP.

It seems to do just fine.

The issue is the speed of the network connection. In my case it's only
FastEthernet (100BaseTX). If it's very busy, you may need to look
at GigE.

LER

>
> Thanks,
> Shankar
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


From: Rod Taylor <pg(at)rbt(dot)ca>
To: Shankar K <shan0075(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: [PERFORM] Postgres on Netapp
Date: 2004-01-16 17:01:39
Message-ID: 1074272498.10720.24.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-performance


> I'd appreciate if anyone could share your experience
> in configuring things on the filer for optimal
> performance or any recomendataion that i should be
> aware of.

Netapps are great things. Just beware that you'll be using NFS, and NFS
drivers on many operating systems have been known to be buggy in some
way or another which may cause dataloss or corruption during extreme
conditions (power failure, network interruption, etc.)

If you can configure it as a SAN, you may find it works out better.


From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Larry Rosenman <ler(at)lerctr(dot)org>, Shankar K <shan0075(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [PERFORM] Postgres on Netapp
Date: 2004-01-17 16:55:13
Message-ID: 200401171155.13281.darcy@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-performance

On January 16, 2004 11:53 am, Larry Rosenman wrote:
> --On Monday, January 12, 2004 13:45:45 -0800 Shankar K <shan0075(at)yahoo(dot)com>
> wrote:
> > We are considering to use NetApp filer for a highly
> > busy 24*7 postgres database and the reason we chose
> I run a (not very busy) PG cluster on a NetAPP.

I run a very busy PG installation on one.

> It seems to do just fine.

Ditto.

> The issue is the speed of the network connection. In my case it's only
> FastEthernet (100BaseTX). If it's very busy, you may need to look
> at GigE.

With the price of GigE adapters I wouldn't consider anything else.

I have a huge database that takes about an hour to copy. The netApp snapshot
feature is very nice because I can get a "moment in time" image of the
database. Even though I can't run from the snapshot because it is read only
(*) and PG needs to write to files just to open the database, I can copy it
and get a runnable version of the DB. If I copy directly from the original I
can get many changes while copying and wind up with a copy that will not run.

(*): It would be nice if PG had a flag that allowed a database to be opened in
read only mode without touching anything in the directory.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: Larry Rosenman <ler(at)lerctr(dot)org>, Shankar K <shan0075(at)yahoo(dot)com>, pgsql-performance(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [PERFORM] Postgres on Netapp
Date: 2004-01-23 15:01:09
Message-ID: 200401231501.i0NF19B08501@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin pgsql-performance

D'Arcy J.M. Cain wrote:
> With the price of GigE adapters I wouldn't consider anything else.
>
> I have a huge database that takes about an hour to copy. The netApp snapshot
> feature is very nice because I can get a "moment in time" image of the
> database. Even though I can't run from the snapshot because it is read only
> (*) and PG needs to write to files just to open the database, I can copy it
> and get a runnable version of the DB. If I copy directly from the original I
> can get many changes while copying and wind up with a copy that will not run.
>
> (*): It would be nice if PG had a flag that allowed a database to be opened in
> read only mode without touching anything in the directory.

PostgreSQL has to read the WAL to adjust the contents of the flat file
on startup in such a setup, so I don't see how we could do it read-only.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073