pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedTablespace - PostgreSQL 9.2
2+ messages / 2 participants
[nested] [flat]
* Tablespace - PostgreSQL 9.2
@ 2016-04-20 23:00 drum.lucas@gmail.com <drum.lucas@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: drum.lucas@gmail.com @ 2016-04-20 23:00 UTC (permalink / raw)
To: pgsql-admin
Hi all,
Just a question about tablespace:
I've got 1 master and two slaves (hot_standby).
Setting a WHOLE table to start using tablespace in a different array/disks,
do I have to have the same on the slaves, right?
Masters and slaves must be equal, right?
Cheers
Lucas
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Tablespace - PostgreSQL 9.2
@ 2016-04-20 23:03 Alex Balashov <abalashov@evaristesys.com>
parent: drum.lucas@gmail.com <drum.lucas@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Alex Balashov @ 2016-04-20 23:03 UTC (permalink / raw)
To: pgsql-admin
On 04/20/2016 07:00 PM, drum.lucas@gmail.com wrote:
> Setting a WHOLE table to start using tablespace in a different
> array/disks, do I have to have the same on the slaves, right?
No, the tablespace change will be propagated as a DDL change
automatically. What you _do_ have to do manually is to ensure the
physical storage directory for the tablespace(s) exists on both master
and slave.
--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-04-20 23:03 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 23:00 Tablespace - PostgreSQL 9.2 drum.lucas@gmail.com <drum.lucas@gmail.com>
2016-04-20 23:03 ` Alex Balashov <abalashov@evaristesys.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox