pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emil Briggs <emil@baymountain.com>
To: pgsql-performance@postgresql.org
Subject: Indexes on ramdisk
Date: Tue, 4 Oct 2005 21:09:01 -0400
Message-ID: <200510042109.01849.emil@baymountain.com> (raw)


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



view thread (6+ messages)  latest in thread

Message-ID: <200510042109.01849.emil@baymountain.com>
Permalink:  ../200510042109.01849.emil@baymountain.com/
Also on:    postgresql.org/message-id/200510042109.01849.emil@baymountain.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: emil@baymountain.com
  Subject: Re: Indexes on ramdisk
  In-Reply-To: <200510042109.01849.emil@baymountain.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