pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
To: Timothy Dyck <Timothy_Dyck@zd.com>
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] request for tuning suggestions from PC Week Labs
Date: Sun, 30 Jan 2000 12:41:36 +0100
Message-ID: <20000130124136.A12525@vestdata.no> (raw)
In-Reply-To: <85256876.00214826.00@mailer.zd.com>
References: <85256876.00214826.00@mailer.zd.com>

On Sun, Jan 30, 2000 at 12:56:39AM -0500, Timothy Dyck wrote:
> Hi all, I'm the database analyst for PC Week Labs and am comparing
> PostgreSQL with Inprise's InterBase (which will be open sourced later this
> year). As part of this project, I'm running a benchmark with a mix of OLTP
> and DSS queries in a set of various mixes and at a variety of user loads
> (up to 100 concurrent users). I'd like to get your tuning suggestions on
> the engine to make sure I am not missing anything.
> 
> My test server is a departmental-type machine with two Pentium III 450MHz
> CPUs with 512MB of RAM running RedHat Linux 6.1. PGDATA is pointing to a
> RAID 5 array and the database is ~40 MB of data before indexing, and so
> will fit entirely into the db cache. The OS swapfile is not used at all. I
> will be using ODBC to query the database.
> 
> 1. The biggest performance item I've seen in looking through the mailing
> lists is the fsync option. I want to leave this enabled as I don't think a
> transactional database should ever lose data. My understanding is that
> with it on PG checkpoints after every commit. Is there a way to let the
> log grow to a certain size before checkpointing? When fsync is off, how is
> data loss possible?
> 
> 2. How do I move the log to a different spindle from the disks the
> database data is on?
> 
> 3. Any other suggestions are much appreciated.

The speed of fsync is a filesystem issue. 

Reiserfs is generally somewhat faster than ext2, and has journaling.
Unfortenately I think the log can only be used for metadata right now -
but you shold check that with the developers. 



--
Ragnar Kjørstad



view thread (3+ messages)  latest in thread

Message-ID: <20000130124136.A12525@vestdata.no>
Permalink:  ../20000130124136.A12525@vestdata.no/
Also on:    postgresql.org/message-id/20000130124136.A12525@vestdata.no

 · 

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: postgres@ragnark.vestdata.no, Timothy_Dyck@zd.com
  Subject: Re: [ADMIN] request for tuning suggestions from PC Week Labs
  In-Reply-To: <20000130124136.A12525@vestdata.no>
  References: <85256876.00214826.00@mailer.zd.com> <20000130124136.A12525@vestdata.no>

* 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