| From: | Mario <mariojpaula(at)yahoo(dot)com(dot)br> |
|---|---|
| To: | "Milen A(dot) Radev" <milen(at)radev(dot)net> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Res: Moving a table to another directory |
| Date: | 2007-02-05 20:22:31 |
| Message-ID: | 435775.50714.qm@web60724.mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)radev(dot)net>
Para: pgsql-admin(at)postgresql(dot)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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Monnerie | 2007-02-05 21:36:13 | Re: destroyed db/index (corruption) |
| Previous Message | Joshua Kramer | 2007-02-05 20:18:00 | Re: Backup Strategies? |