pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Turner <armtuk@gmail.com>
To: emil@baymountain.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Indexes on ramdisk
Date: Tue, 4 Oct 2005 23:23:17 -0400
Message-ID: <33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.com> (raw)
In-Reply-To: <200510042109.01849.emil@baymountain.com>
References: <200510042109.01849.emil@baymountain.com>

Talk about your IO system a bit. There might be obvious ways to improve.

What System/Motherboard are you using?
What Controller Cards are you using?
What kind of Disks do you have (SATA, SCSI 7.6k 10k 15k)
What denominations (9, 18, 36, 72, 143, 80, 160, 200 240Gig)?
What kind of RAIDs do you have setup (How many drives what stripe sizes, how
many used for what).
What levels of RAID are you using (0,1,10,5,50)?

With good setup, a dual PCI-X bus motherboard can hit 2GB/sec and thousands
of transactions to disk if you have a controller/disks that can keep up.
That is typicaly enough for most people without resorting to SSD.

Alex Turner
NetEconomist

On 10/4/05, Emil Briggs <emil@baymountain.com> wrote:
>
>
> I have an application that has a table that is both read and write
> intensive.
> Data from iostat indicates that the write speed of the system is the
> factor
> that is limiting performance. The table has around 20 columns and most of
> the
> columns are indexed. The data and the indices for the table are
> distributed
> over several mirrored disk partitions and pg_xlog is on another. I'm
> looking
> at ways to improve performance and besides the obvious one of getting an
> SSD
> I thought about putting the indices on a ramdisk. That means that after a
> power failure or shutdown I would have to recreate them but that is
> acceptable for this application. What I am wondering though is whether or
> not
> I would see much performance benefit and if there would be any startup
> problems after a power down event due to the indices not being present.
> Any
> insight would be appreciated.
>
> Emil
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

view thread (6+ messages)  latest in thread

Message-ID: <33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.com>
Permalink:  ../33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.com/
Also on:    postgresql.org/message-id/33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.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 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-performance@postgresql.org
  Cc: armtuk@gmail.com, emil@baymountain.com
  Subject: Re: Indexes on ramdisk
  In-Reply-To: <33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.com>
  References: <200510042109.01849.emil@baymountain.com> <33c6269f0510042023t24175e33vf84d9af609a8ccd7@mail.gmail.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