Re: pg_dump with low priority?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: pg_dump with low priority?
Дата
Msg-id 1130164600.15546.83.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на pg_dump with low priority?  (Bryan Field-Elliot <bryan_lists@netmeme.org>)
Список pgsql-general
On Sat, 2005-10-22 at 07:39, Bryan Field-Elliot wrote:
> We have a huge database which must be backed up every day with
> pg_dump. The problem is, it takes around half an hour to produce the
> dump file, and all other processes on the same box are starved for
> cycles (presumably due to I/O) during the dump. It's not just an
> inconvenience, it's now evolved into a serious problem that needs to
> be addressed.
>
> Is there any mechanism for running pg_dump with a lower priority? I
> don't mind if the backup takes two hours instead of half an hour, as
> long as other processes were getting their fair share of cycles.

You could either set up plain old replication via slony / mammoth
replicator, and backup the slave, or setup Point in Time Recovery.


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: a stored procedure ..with integer as the parameter
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: PostgreSQL 8.1 Beta 4