pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Alexander Burbello <burbello3000@yahoo.com.br>
Cc: Lista Postgres <pgsql-admin@postgresql.org>
Subject: Re: Move indexes
Date: Tue, 14 Nov 2006 21:48:20 +0000
Message-ID: <1163540901.27956.112.camel@silverbirch.site> (raw)
In-Reply-To: <4558463C.9070502@yahoo.com.br>
References: <4558463C.9070502@yahoo.com.br>

On Mon, 2006-11-13 at 08:17 -0200, Alexander Burbello wrote:

> 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.

ALTER INDEX name SET TABLESPACE tablespace_name

is the approved way and quicker than re-creating the indexes.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com





view thread (6+ messages)  latest in thread

Message-ID: <1163540901.27956.112.camel@silverbirch.site>
Permalink:  ../1163540901.27956.112.camel@silverbirch.site/
Also on:    postgresql.org/message-id/1163540901.27956.112.camel@silverbirch.site

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, burbello3000@yahoo.com.br
  Subject: Re: Move indexes
  In-Reply-To: <1163540901.27956.112.camel@silverbirch.site>
  References: <4558463C.9070502@yahoo.com.br> <1163540901.27956.112.camel@silverbirch.site>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox