Re: Index files - Mailing list pgsql-performance

From Alan Hodgson
Subject Re: Index files
Date
Msg-id 200709141329.01171@hal.medialogik.com
Whole thread Raw
In response to Re: Index files  ("Harsh Azad" <harsh.azad@gmail.com>)
List pgsql-performance
On Friday 14 September 2007, "Harsh Azad" <harsh.azad@gmail.com> wrote:
> Great, creating new tablespace for indexes worked! Now the question is
> whether existing tables/index can be moved to the new tablespace using an
> alter command or the only way possible is to drop and recreate them?
>

ALTER TABLE table_name set tablespace new_tablespace;

and ALTER INDEX ...


--
Eat right. Exercise regularly. Die anyway.


pgsql-performance by date:

Previous
From: Mark Lewis
Date:
Subject: Re: Index files
Next
From: "Valentine Gogichashvili"
Date:
Subject: Re: Index usage when bitwise operator is used