Re: rsync and streaming replication

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: rsync and streaming replication
Дата
Msg-id B2C15563-E31A-41A8-AE9A-5F2D65097362@elevated-dev.com
обсуждение исходный текст
Ответ на Re: rsync and streaming replication  (Jean-Armel Luce <jaluce06@gmail.com>)
Ответы Re: rsync and streaming replication  (Jean-Armel Luce <jaluce06@gmail.com>)
Список pgsql-admin
On Nov 17, 2011, at 10:11 AM, Jean-Armel Luce wrote:

> > Also, I believe you said -z seemed to slow it down?
> I confirm

Is there a lot of your data that is already compressed? Either something like images which you are storing as bytea or
largeobjects? Or long text values that pg will itself compress out of line? 

> Today, I tried with command : rsync -rc --block-size=8192
> Rsync duration with blksize=8192 was 31 minutes (yesterday without blocksize, duration was 32 minutes exactly)

That seems not too bad, in that you're sustaining >3GB/min of reading & checksumming. (Some of my earlier comments were
basedon the belief that your db was 20GB.) 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice





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

Предыдущее
От: Cédric Villemain
Дата:
Сообщение: Re: rsync and streaming replication
Следующее
От: Silvio Brandani
Дата:
Сообщение: database not using indexes, yet