pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <decibel@decibel.org>
To: Vincent Chen <vctw@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: hardware to get best performance
Date: Thu, 25 Nov 2004 00:34:38 -0600
Message-ID: <20041125063438.GI41545@decibel.org> (raw)
In-Reply-To: <20041124053006.79880.qmail@web54401.mail.yahoo.com>
References: <20041124053006.79880.qmail@web54401.mail.yahoo.com>

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
> http://tw.avatar.yahoo.com/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

-- 
Jim C. Nasby, Database Consultant               decibel@decibel.org 
Give your computer some brain candy! www.distributed.net 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?"



view thread (4+ messages)

Message-ID: <20041125063438.GI41545@decibel.org>
Permalink:  ../20041125063438.GI41545@decibel.org/
Also on:    postgresql.org/message-id/20041125063438.GI41545@decibel.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: decibel@decibel.org, vctw@yahoo.com
  Subject: Re: hardware to get best performance
  In-Reply-To: <20041125063438.GI41545@decibel.org>
  References: <20041124053006.79880.qmail@web54401.mail.yahoo.com> <20041125063438.GI41545@decibel.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox