Re: Symbolic Links to Tablespaces

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Campbell, Lance" <lance(at)illinois(dot)edu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Symbolic Links to Tablespaces
Date: 2008-05-26 15:08:51
Message-ID: 21505.1211814531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Campbell, Lance" <lance(at)illinois(dot)edu> writes:
> I have started to define tablespaces on different disks. Is there any
> performance issues related to referencing tablespaces on different disks
> with symbolic links? By using symbolic links to tablespaces can I then
> stop the database and move a particular tablespace from one location to
> another without causing a problem? This would seem to give a lot of
> flexibility to the location of tablespaces.

A tablespace already is a symbolic link --- read
http://www.postgresql.org/docs/8.2/static/storage.html

Putting another one into the path will eat cycles and doesn't seem like
it could buy anything.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-05-26 15:36:57 Re: I/O on select count(*)
Previous Message H. Hall 2008-05-26 15:00:18 Re: "Big O" notation for postgres?