Separating Databases on Different Partitions

From: "Aaron Bono" <postgresql(at)aranya(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Separating Databases on Different Partitions
Date: 2006-05-30 15:11:03
Message-ID: bf05e51c0605300811q6db02450u50c781e487dd02e5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam 2006-05-30 15:28:43 Re: Separating Databases on Different Partitions
Previous Message Andrew Sullivan 2006-05-30 14:58:28 Re: full vacuum - resources - scaling