tablespace - datafile location - Mailing list pgsql-novice

From Birchall, Austen
Subject tablespace - datafile location
Date
Msg-id 4E154FB60786D74BB4DFDC97BF991CAC08A92C@EXXCMPD1DAG2.cmpd1.metoffice.gov.uk
Whole thread Raw
In response to Running psql commands from a remote location & pg_hba.conf?  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Responses Re: tablespace - datafile location
List pgsql-novice
9.2 on Red Hat 6

Up to now I have been creating the sub-directories that (hold) the OS level files that are associated with individual
tablespacesdirectly under the  

..../psql/data directory i.e.

db=# create tablespace test owner test_admin location '/var/lib/pgsql/data/test';
Is this standard/best practise - I can see that the data directory could get 'cluttered' in a db that has many
tablespaces.

Is there a standard/recommended alternative for tablespace location for db which have many tablespaces?

Thanks in advance as always

Austen


Austen Birchall  Senior Database Administrator
Met Office



pgsql-novice by date:

Previous
From: "Birchall, Austen"
Date:
Subject: sudo/access to the postres OS user
Next
From: Athanasios Kostopoulos
Date:
Subject: Re: sudo/access to the postres OS user