From: Mario <mariojpaula@yahoo.com.br>
To: Milen A. Radev <milen@radev.net>
Cc: pgsql-admin@postgresql.org
Subject: Res: Moving a table to another directory
Date: Mon, 5 Feb 2007 12:22:31 -0800 (PST)
Message-ID: <435775.50714.qm@web60724.mail.yahoo.com> (raw)
boa tarde,
como faço para retirar meu emaio dessa lista de discurssao...
se alguem puder me ajudar agradeço
obrigado
----- Mensagem original ----
De: Milen A. Radev <milen@radev.net>
Para: pgsql-admin@postgresql.org
Enviadas: Segunda-feira, 5 de Fevereiro de 2007 18:14:16
Assunto: Re: [ADMIN] Moving a table to another directory
Ezequiel Luis Pellettieri написа:
> Hi guys I have a big table (25 gb) and a need to move it to another
> directory cos i'm out of space.
> making a symlik will be ok? or I have to do something else
>
1. CREATE TABLESPACE xxx LOCATION 'another_dir'
(http://www.postgresql.org/docs/current/static/sql-createtablespace.html);
2. ALTER TABLE big_table SET TABLESPACE xxx;
(http://www.postgresql.org/docs/current/static/sql-altertable.html)
--
Milen A. Radev
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
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: mariojpaula@yahoo.com.br, milen@radev.net
Subject: Re: Moving a table to another directory
In-Reply-To: <435775.50714.qm@web60724.mail.yahoo.com>
References: <435775.50714.qm@web60724.mail.yahoo.com>
* 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