Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2004 18:40:07 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Kenji M <kenji@kenjim.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Running FreeBSD/PostgreSQL on high-end dual Xeon box
Message-ID:  <F6C48A69-B5AE-11D8-9C6A-003065ABFD92@mac.com>
In-Reply-To: <20040603214253.GA93387@kenjim.com>
References:  <20040603214253.GA93387@kenjim.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 3, 2004, at 5:42 PM, Kenji M wrote:
> I am currently specing a 2U dual Xeon server and hope to use
> RAID 0+1 capability.  The question is for PostgreSQL admins...
>
> 1) Which RAID controller should we use?

You haven't mentioned whether you plan to use SCSI or IDE drives.  The 
PERC RAID controller in Dell's PowerEdge's works quite well for the 
former, but you might consider the 3ware twe if you're doing IDE.

> 2) Considering Q1, does it not even make sense to use 
> FreeBSD+PostgreSQL
> and bite the bullet and go with Linux (assuming it has better hw RAID
> support) and run PostgreSQL on that using a fancier journaling 
> filesystem.

Hmm.  What makes you think that a journalling filesystem gains you much 
when you are running a database?

Databases do their own transaction management using two-phase commit 
and logfiles for rollback in case of a crash using a few very large 
files, which they'll write to directly using async/directIO (whatever 
the term you wish to use is), rather than using OS/filesystem 
buffering....

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6C48A69-B5AE-11D8-9C6A-003065ABFD92>