Re: postgreSQL on NAS/SAN?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Daniel Seichter <daniel(at)dseichter(dot)de>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgreSQL on NAS/SAN?
Date: 2003-06-16 19:32:15
Message-ID: Pine.LNX.4.33.0306161329130.2361-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 15 Jun 2003, Daniel Seichter wrote:

> Hello,
> is it possible, to use a postgreSQL database on a NAS or a SAN? I
> somewhere read, that you should not install a database to a RAID5 but the
> most NAS and SAN I know, are using RAID5.
> Does anyone know aout anything like this?

RAID5 is fine for a database. It provides a fair compromise between
speed, safety, and economy. If you need more speed, you might need to go
to a RAID 1+0 (or 0+1).

running postgresql on a NAS or SAN is quite doable, but you should test
your configuration carefully. Note that many NAS units report write
completion upon receipt of the data (i.e. before it's actually written) so
you may have data integrity issues should the power go out in the middle
of a transaction.

SANs are generally more robust than NAS, but I'm not that familiar with
running a database on one.

One thing you CANNOT do is allow two postmasters to write to the same data
store. That WILL corrupt your database and cause problems.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arjen van der Meijden 2003-06-16 19:33:51 Re: Postgres performance comments from a MySQL user
Previous Message Sven Köhler 2003-06-16 19:30:51 Re: full featured alter table?