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: Mon, 24 Nov 2003 10:04:37 -0800
Message-ID: <200311241004.37969.josh@agliodbs.com> (raw)
In-Reply-To: <bptg3i$64u$1@news.hub.org>
References: <bprv1q$1j5o$1@news.hub.org>
	<200311240925.58070.josh@agliodbs.com>
	<bptg3i$64u$1@news.hub.org>

William,

> The SanDisks do seem a bit pokey at 16MBps. On the otherhand, you could
> get 4 of these suckers, put them in a mega-RAID-0 stripe for 64MBps. You
> shouldn't need to do mirroring with a solid state drive.

I wouldn't count on RAID0 improving the speed of SANDisk's much.  How are you 
connecting to them?  USB?   USB doesn't support fast parallel data access.

Now, if it turns out that 256MB ramdisks are less than 1/5 the cost of 1GB 
ramdisks, then that's worth considering.

You're right, though, mirroring a solid state drive is pretty pointless; if 
power fails, both mirrors are dead.  

As I said before, though, we're all very interested in this test.  Using a 
ramdisk for WAL has been discussed on this list numerous times but not 
attempted by anyone who published their results.

All that aside, though, I think you should also experiment with the Background 
Writer patch recently discussed on Hackers, as it may give you a performance 
boost as well.
-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (19+ messages)  latest in thread

Message-ID: <200311241004.37969.josh@agliodbs.com>
Permalink:  ../200311241004.37969.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200311241004.37969.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: <200311241004.37969.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