Re: Moving a table to another directory

Поиск
Список
Период
Сортировка
От Ezequiel Luis Pellettieri
Тема Re: Moving a table to another directory
Дата
Msg-id 86aad3420702051826g321829a1t3c0f112819c6e767@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Moving a table to another directory  ("Milen A. Radev" <milen@radev.net>)
Ответы Re: Moving a table to another directory
Список pgsql-admin
Thanks Milen, does it work on 7.4??
 
pelle.-

 
2007/2/5, Milen A. Radev <milen@radev.net>:
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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Symbol lookup error
Следующее
От: Marko Gargenta - Marakana
Дата:
Сообщение: PostgreSQL Admin consulting gig