Setting up streaming replication w/ a big ole database

Поиск
Список
Период
Сортировка
От Wells Oliver
Тема Setting up streaming replication w/ a big ole database
Дата
Msg-id CAOC+FBWhe2dMU8ZUv2HT8YjrPvB38A2NpBwqwoyEB_iXhxqv4g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Setting up streaming replication w/ a big ole database  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-admin
Hey all, I have a question about streaming replication available in PG 9+

The general configuration I see is along the lines of this:


Where you do the file system backup and restore. However, our current server I wish to make master has a 75GB database. I can't take the server down, and I can't run rsync against the live DB.

What are my options? I don't care if it takes a day or two for the slave to get up to sync w/ the master: is there some way to have an empty DB read an entire log that has everything?

I could also do a pg_restore to the new slave from last night's DB backup, but I understand (at least, I seem to read it) that you can't bring a slave up using pg_restore.

Are there any other options I am missing? Thanks for any tips.

--
Wells Oliver
wellsoliver@gmail.com

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Why would queries fail with 'could not stat file' after CLUSTER?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Setting up streaming replication w/ a big ole database