Re: Move indexes

From: "Hakan Kocaman" <Hakan(dot)Kocaman(at)digame(dot)de>
To: "Alexander Burbello" <alexander(at)cresoltec(dot)com(dot)br>, "Lista Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Move indexes
Date: 2006-11-14 06:22:15
Message-ID: 84AAD313D71B1D4F9EE20E739CC3B6ED013DF4E7@ATLANTIK-CL.intern.digame.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
> [mailto:pgsql-admin-owner(at)postgresql(dot)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(at)postgresql(dot)org
> so that your
> message can get through to the mailing list cleanly
>

In response to

  • Move indexes at 2006-11-10 19:03:18 from Alexander Burbello

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ujang Sutisna 2006-11-14 11:05:18 Can somebody help me on adding so file
Previous Message Jeff Frost 2006-11-14 00:06:35 Re: Use Jobs