From: Aaron Bono <postgresql@aranya.com>
To: pgsql-admin@postgresql.org
Subject: Separating Databases on Different Partitions
Date: Tue, 30 May 2006 10:11:03 -0500
Message-ID: <bf05e51c0605300811q6db02450u50c781e487dd02e5@mail.gmail.com> (raw)
Is there a way to get Postgres to store each database in a separate
directory? I first hoped I could just use symbolic links under the data
directory but I have no idea which files are assigned to which database.
The reason I am wanting to do this is that I have a database set up for each
user on my server. I need to put their database under their home directory
somewhere so I know how much disk space each user account is taking. I also
need to put the database under the /home partition as it has a lot more
space than the partition containing the data directory.
Thanks,
Aaron
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-admin@postgresql.org
Cc: postgresql@aranya.com
Subject: Re: Separating Databases on Different Partitions
In-Reply-To: <bf05e51c0605300811q6db02450u50c781e487dd02e5@mail.gmail.com>
References: <bf05e51c0605300811q6db02450u50c781e487dd02e5@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