Re: database response slows while pg_dump is running (8.4.2)

Поиск
Список
Период
Сортировка
Искать
От
Steve Crawford
Тема
Re: database response slows while pg_dump is running (8.4.2)
Дата
Msg-id
4C12584C.5000600@pinpointresearch.com
Ответ на
Список
Дерево обсуждения
database response slows while pg_dump is running (8.4.2) Aleksey Tsalolikhin <atsaloli.tech@gmail.com>
Re: database response slows while pg_dump is running (8.4.2) Andy Colson <andy@squeakycode.net>
Re: database response slows while pg_dump is running (8.4.2) Aleksey Tsalolikhin <atsaloli.tech@gmail.com>
Re: database response slows while pg_dump is running (8.4.2) Alan Hodgson <ahodgson@simkin.ca>
Re: database response slows while pg_dump is running (8.4.2) Adrian von Bidder <avbidder@fortytwo.ch>
Re: database response slows while pg_dump is running (8.4.2) Aleksey Tsalolikhin <atsaloli.tech@gmail.com>
Re: database response slows while pg_dump is running (8.4.2) Steve Crawford <scrawford@pinpointresearch.com>
Re: database response slows while pg_dump is running (8.4.2) Steve Crawford <scrawford@pinpointresearch.com>
Re: database response slows while pg_dump is running (8.4.2) Aleksey Tsalolikhin <atsaloli.tech@gmail.com>
Re: database response slows while pg_dump is running (8.4.2) Stephen Frost <sfrost@snowman.net>
Re: database response slows while pg_dump is running (8.4.2) Scott Marlowe <scott.marlowe@gmail.com>
Re: database response slows while pg_dump is running (8.4.2) Andy Colson <andy@squeakycode.net>
Re: database response slows while pg_dump is running (8.4.2) Greg Smith <greg@2ndquadrant.com>
On 06/10/2010 11:43 PM, Adrian von Bidder wrote:
>
> Just speculation, I've not tried this.  Perhaps pipe the output of pg_dump
> through a software that bandwidth-limits the throughput?  (I don't know if
> such a command exists,
>    
pv (pipe view)

Allows you to monitor rate of transfers through a pipe. Also has options 
to specify max
transfer rate (-L).

It's handy for quick-n-dirty disk-rate tests - mostly only useful for 
bulk read (pv /some/big/file > /dev/null)

Or monitor the progress of your dump: pg_dump  | pv > 
your.dump

May not be installed by default - "apt-get install pv" works for Ubuntu 
but for CentOS/RHEL but you may need to get it from rpmforge or use the 
source: http://www.ivarch.com/programs/pv.shtml

Cheers,
Steve



В списке pgsql-general по дате отправления
От: Michal Politowski
Дата:
От: Greg Smith
Дата:
Сообщение: Re: checkpoint spikes
FAQ