Skip site navigation (1) Skip section navigation (2)

Re: hardware to get best performance

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Vincent Chen <vctw(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: hardware to get best performance
Date: 2004-11-25 06:34:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
ext3 is just ext2 with journalling, and from what I've heard is rather
slow. ext2 is fast because it's async. RFS is fast at losing your data.

UFS is rock-solid and is still being developed. In the past couble years
it's been changed to support some monsterous file and filesystem sizes
and has had soft-updates added. Soft-updates order metadata and data
writes in such a way that the filesystem will always come up in a
consistent state. It does what journaling does without the performance
drawback of a fixed journal space on the drive.

Another advantage FreeBSD has is that the kernel will take process
priority into account when it's scheduling disk IO. This means you can
nice long-running processes and not starve other processes for disk IO.

Some people think having a half-dozen filesystems to choose from is an
advantage. Personally, I'd much rather stick with a filesystem that's
proven itself  for the past 30 years.

On Wed, Nov 24, 2004 at 01:30:06PM +0800, Vincent Chen wrote:
> >> Hi, all
> >> 
> >> Does postgresql support thread? Or let me put it this way, will postgresql
> get
> >> better performance on multiple processor host than single processor? What's
> the
> >> best platform, freebsd? linux?
> >
> >If you have multiple connections to the database server making simultaneous
> >queries, multiple processors will be used. This is the normal case for
> >real database use.
> >
> >The best platform for you is probably the one you are most familiar with.
> >
> About platform, linux has much more filesystem choice than freebsd. If I put
> postgresql data file on new filesystem like xfs or reiserfs, is it possible
> that overall performance will be better than old filesystem like ufs?
> Thanks for your response,
> Vincent Chen
> -----------------------------------------------------------------
> Yahoo!?_???y?????F
> ???s???y?????F???W???A???H???W?????H???m?I
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?

Jim C. Nasby, Database Consultant               decibel(at)decibel(dot)org 
Give your computer some brain candy! Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

pgsql-admin by date

Next:From: Vishal Kashyap @ [SaiHertz]Date: 2004-11-25 17:24:00
Subject: Re: postgres in windows xP
Previous:From: James NyuntDate: 2004-11-25 06:10:11
Subject: postgres in windows xP

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group