From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Milton Labanda <1000ton(dot)lab(at)gmail(dot)com> |
Cc: | Ayuda <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: instalacion |
Date: | 2012-07-09 20:02:02 |
Message-ID: | 1341863857-sup-7524@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | ecpug pgsql-es-ayuda |
Excerpts from Milton Labanda's message of lun jul 09 15:18:21 -0400 2012:
> como puedo decirle a pg en debian que grabe las bd en otro directorio
> aparte del /var?
mkdir /el/otro/directorio/pgdata
psql> CREATE TABLESPACE otro_directorio LOCATION '/el/otro/directorio/pgdata';
psql> ALTER DATABASE .. SET TABLESPACE otro_directorio;
lee el manual de ALTER TABLE / ALTER INDEX / ALTER DATABASE etc, para
saber qué posibilidades hay de mover datos existentes al nuevo
tablespace, y cuales te ofrecen cambiar la ubicación de datos futuros.
--
Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
From | Date | Subject | |
---|---|---|---|
Next Message | Milton Labanda | 2012-07-09 20:24:56 | Fwd: instalacion |
Previous Message | carlos.perez | 2012-07-09 19:52:51 | Re: instalacion |
From | Date | Subject | |
---|---|---|---|
Next Message | Milton Labanda | 2012-07-09 20:24:56 | Fwd: instalacion |
Previous Message | carlos.perez | 2012-07-09 19:52:51 | Re: instalacion |