Re: Move indexes - Mailing list pgsql-admin

From Hakan Kocaman
Subject Re: Move indexes
Date
Msg-id 84AAD313D71B1D4F9EE20E739CC3B6ED013DF4E7@ATLANTIK-CL.intern.digame.de
Whole thread Raw
In response to Move indexes  (Alexander Burbello <alexander@cresoltec.com.br>)
Responses Re: Move indexes
List pgsql-admin
Hi,

in short terms:

CREATE TABLESPACE
http://www.postgresql.org/docs/8.1/interactive/sql-createtablespace.html
CREATE TABLESPACE tablespace_name [ OWNER username ] LOCATION
'directory'

ALTER INDEX
http://www.postgresql.org/docs/8.1/interactive/sql-alterindex.html
ALTER INDEX name SET TABLESPACE tablespace_name

Haven't tried this for my own, so take care (and test).

Best regards

Hakan



> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of
> Alexander Burbello
> Sent: Friday, November 10, 2006 8:03 PM
> To: Lista Postgres
> Subject: [ADMIN] Move indexes
>
>
> Hi,
>
> I have one tablespace with all my objects.
> I would like to separate indexes from other.
>
> How can I select and move with SQL???
>
> Thank you for your help.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org
> so that your
>        message can get through to the mailing list cleanly
>

pgsql-admin by date:

Previous
From: Alexander Burbello
Date:
Subject: Move indexes
Next
From: "Ujang Sutisna"
Date:
Subject: Can somebody help me on adding so file