Res: Moving a table to another directory

Поиск
Список
Период
Сортировка
От Mario
Тема Res: Moving a table to another directory
Дата
Msg-id 435775.50714.qm@web60724.mail.yahoo.com
обсуждение исходный текст
Список pgsql-admin

 
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/

В списке pgsql-admin по дате отправления:

Предыдущее
От: Joshua Kramer
Дата:
Сообщение: Re: Backup Strategies?
Следующее
От: Michael Monnerie
Дата:
Сообщение: Re: destroyed db/index (corruption)