Re: Question about replication options

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Question about replication options
Дата
Msg-id 20091207203547.GN3552@alvh.no-ip.org
обсуждение исходный текст
Ответ на Question about replication options  (Adam Tucker <atucker@batchblue.com>)
Список pgsql-admin
Adam Tucker wrote:
> I'm interested in having live replication from one server to another, and I've looked into many of the options out
therebut I'm unclear on one part of it.  The way our database works is that each individual user account has their own
schema. When a new user signs up, a new schema is created and populated with basic data. 
>
> Slony-I seemed like a good option, but in the documentation it states that it "does not automatically propagate
schemachanges."  Our schemas don't change after creation, but I am guessing that adding a schema to the database falls
underthe definition of "schema changes." 
>
> Am I wrong about that limitation of Slony-I, and if not does anyone here have a recommendation for a replication
solutionthat would work for my situation? 

You are wrong.  It means you cannot simply alter a replicated table on
the origin and have it altered automatically on the replica (but you can
do it with some manual labour).  If you want to replicate a new set of
tables, you can do that easily.

I imagine you've already been flamed to death about the one-schema-per-user
bit so I won't say anything about that.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Question about replication options
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Question about replication options