Re: Data folder in differnet filesystem

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Data folder in differnet filesystem
Date: 2009-09-03 12:23:12
Message-ID: 20090903122312.GD18836@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to S Arvind :
> I have 2 doubts related to Filsesytem and Postgres data folder
>
> 1.Currently in CentOS,  our postgres data folder is in single filesystem. Is
> there any possibility to have a single data folder of single postgres in more
> then one file system.

Don't understand ...

> 2.I am having three big DB, is it possible to have a data of each DB in
> different file system. so if i want to add a DB to postgre i will mount a drive
> (filesystem ) and point that location for the postgres to use that space.
>   for eg
> Filesystem Mounted on
> /dev/hda3      /data/db1            for DB1
> /dev/hda4      /data/db2            for DB2

Sure, use different tablespaces.

http://www.postgresql.org/docs/8.4/static/manage-ag-tablespaces.html

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Dörfler 2009-09-03 12:27:03 Re: install postgis in linux server without desktop
Previous Message shane_china 2009-09-03 12:18:28 Re: install postgis in linux server without desktop