Re: Methods to quiesce PostgreSQL DB without configuring log archival

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Methods to quiesce PostgreSQL DB without configuring log archival
Дата
Msg-id a1af2766-c018-7869-1621-b2bfdd77bff8@hogranch.com
обсуждение исходный текст
Ответ на Methods to quiesce PostgreSQL DB without configuring log archival  (MEERA <meeranair89@gmail.com>)
Список pgsql-general
On 11/21/2016 10:23 PM, MEERA wrote:
If archive_mode is not configured, and i use snapshot solution for backup of the server, how can i ensure data consistency? Is there a way to quiesce all the connections to DB?

select pg_startbackup();    before taking the file system copy or snapshot, and

select pg_stopbackup();     when you're done.  


-- 
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: Methods to quiesce PostgreSQL DB without configuring log archival
Следующее
От: azhwkd
Дата:
Сообщение: Re: query locks up when run concurrently