Re: [GENERAL] Streaming replication bandwith per table

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] Streaming replication bandwith per table
Дата
Msg-id c5cda816-7593-3f9c-04c5-2f3040b9b88e@2ndquadrant.com
обсуждение исходный текст
Ответ на [GENERAL] Streaming replication bandwith per table  ("Maeldron T." <maeldron@gmail.com>)
Ответы Re: [GENERAL] Streaming replication bandwith per table
Список pgsql-general
On 6/19/17 20:50, Maeldron T. wrote:
> Streaming replication generates too much traffic to set it up between
> different regions for financial reasons. The streaming replication would
> cost more than every other hosting expense altogether (including every
> the traffic, even though it’s web and huge amount of emails).
>
> Is there a way to see in the log how much bandwidth is used per table?

Not easily.  You could play around with pg_xlogdump to see what's going
on in the WAL.  But even if you figure it out, there is not much you can
do about it.

Try perhaps logical replication.  That would save you the bandwidth for
updating all the indexes at least.  It might work for you.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: "Maeldron T."
Дата:
Сообщение: [GENERAL] Streaming replication bandwith per table
Следующее
От: Computer Study
Дата:
Сообщение: [GENERAL] Error with DefineSavepoint:Unexpected state STARTED