Indexes on ramdisk

From: Emil Briggs <emil(at)baymountain(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Indexes on ramdisk
Date: 2005-10-05 01:09:01
Message-ID: 200510042109.01849.emil@baymountain.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


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

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2005-10-05 01:32:18 Re: Is There Any Way ....
Previous Message Douglas J. Trainor 2005-10-05 00:40:54 Re: Is There Any Way ....