pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: William Yu <wyu@talisys.com>
To: pgsql-performance@postgresql.org
Subject: Re: Maximum Possible Insert Performance?
Date: Sun, 23 Nov 2003 20:29:04 -0800
Message-ID: <200311232029.04120.josh@agliodbs.com> (raw)
In-Reply-To: <bprv1q$1j5o$1@news.hub.org>
References: <bprv1q$1j5o$1@news.hub.org>

William,

> I already have fsync off. Short of buying more hardware -- which I will
> probably do anyways once I figure out whether I need more CPU, memory or
> disk -- what else can I do to max out the speed? Operation mix is about
> 50% select, 40% insert, 10% update.

Disk.   Multi-channel RAID is where it's at, and/or RAID with a great write 
cache enabled.  For really fast updates, I'd suggest 6-disk or even 8-disk 
RAID 1+0.

As soon as you have gobs of extra disk space, jack your checkpoint_buffers way 
up, like a couple of gigs.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (19+ messages)  latest in thread

Message-ID: <200311232029.04120.josh@agliodbs.com>
Permalink:  ../200311232029.04120.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200311232029.04120.josh@agliodbs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, wyu@talisys.com
  Subject: Re: Maximum Possible Insert Performance?
  In-Reply-To: <200311232029.04120.josh@agliodbs.com>

* 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