Skip site navigation (1) Skip section navigation (2)

Re: Moving a table to another directory

From: "Ezequiel Luis Pellettieri" <ezequiel(dot)pellettieri(at)gmail(dot)com>
To: "Milen A(dot) Radev" <milen(at)radev(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Moving a table to another directory
Date: 2007-02-06 02:26:03
Message-ID: 86aad3420702051826g321829a1t3c0f112819c6e767@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Thanks Milen, does it work on 7.4??

pelle.-


2007/2/5, Milen A. Radev <milen(at)radev(dot)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
>

In response to

Responses

pgsql-admin by date

Next:From: Jaime CasanovaDate: 2007-02-06 03:03:47
Subject: Re: Moving a table to another directory
Previous:From: Jaime CasanovaDate: 2007-02-06 00:45:38
Subject: Re: identity es postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group