Advice for "hot-swapping" databases

Поиск
Список
Период
Сортировка
От Kynn Jones
Тема Advice for "hot-swapping" databases
Дата
Msg-id c2350ba40806131508r2d3bc19p9477033c3eb13a2f@mail.gmail.com
обсуждение исходный текст
Ответы Re: Advice for "hot-swapping" databases  (Geoffrey <lists@serioustechnology.com>)
Список pgsql-general
Hi.  I'm trying to automate the updating of a database.  This entails creating the new database from scratch (which takes a long time), under a different name, say mydb_tmp, and once this new database is ready, doing a "hot swap", i.e. renaming the existing database to something like mydb_20080613 and renaming the newly created database mydb.

I have automated everything up to the  creation of mydb_tmp.  (This is done with an unholy mix of Perl and shell scripts.)  I'm trying to figure out the best way to perform the hot swap.

Any thoughts?

TIA!

Kynn

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Backup using GiT?
Следующее
От: Niederland
Дата:
Сообщение: Re: Win32 8.3.3 install fail (sufficient privileges to install system services).