Moving some of Postgres off a SSD

From: Robert James <srobertjames(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Moving some of Postgres off a SSD
Date: 2012-12-18 14:26:57
Message-ID: CAGYyBgiA8G5pqjfqrPqvAuo=iODEfTFbL6SpA187Zfop+h6Ncg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have Postgres running on a SSD. The data is now almost 50GB, which
is filling up the drive.

How can I move some of the data to my HDD?

My priorities are, in this order:
1. Reliable - I don't want anything that will corrupt the data
2. Easy - I have a few dozen databases, I don't want to do too many commands
3. Speed - If possible, I'd like to keep the key stuff (perhaps only
the WAL) on the SSD
4. Space - Ideally, I'd like to move all of the low priority databases
- about 30 GB

I can take the system offline freely for as long as I need.
(Postgres 8.3 on Ubuntu x64)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Berg 2012-12-18 15:10:06 Re: Moving some of Postgres off a SSD
Previous Message gautammaji 2012-12-18 12:25:13 Re: Streaming replication + pgpool-II tutorial