Re: Postgresql data backup

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Postgresql data backup
Дата
Msg-id Pine.BSF.4.21.0109141526440.43854-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Postgresql data backup  (Rajkumar Selvaraj <s_rajkumar2000@yahoo.com>)
Список pgsql-general
On Thu, 13 Sep 2001, [iso-8859-1] Rajkumar Selvaraj wrote:

> Please mail me ur replies on the following :
> 1).I would like to know how to stop users who have
> already opened up sessions with my database without
> stopping the postmaster
> service.
Well, the problem is that if you stop them, any modifications
done by those users in a transaction will be lost, but you
could probably kill the postgres processes opened for each
user.

> 2).I would also like to know whether the command
> pg_dump prevents any user from writing or modifying my
> database until
> th process is completed. If not,will it ensure
> transactional integrity until the backup process is
> completed ?
No it doesn't, but IIRC, pg_dump is going to run as one
transaction meaning that it should see a consistant state
of the database which wouldn't include any non-committed
transactions at the start of the dump.


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

Предыдущее
От: Andrew Gould
Дата:
Сообщение: Re: get certain # of recs
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: get certain # of recs