pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Reducing bandwidth usage of database replication
Date: Wed, 2 Nov 2022 11:29:47 -0500
Message-ID: <f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com> (raw)
In-Reply-To: <DU2P250MB03031FEA6F1EA85D76B07832B4399@DU2P250MB0303.EURP250.PROD.OUTLOOK.COM>
References: <ca01dd18-07b5-47ce-9c77-dae07110a019.c559e1a5-0cf7-453a-a6ff-7421ef0b312f.c5613e5d-3da6-4c69-87d0-5bf9d3839848@emailsignatures365.codetwo.com>
	<DU2P250MB03031FEA6F1EA85D76B07832B4399@DU2P250MB0303.EURP250.PROD.OUTLOOK.COM>

On 11/2/22 09:56, Sascha Zenglein wrote:
> Hi all,
>
> I want to use the postgres-native logical replication to have multiple 
> clients receive and send data to a central database.
> Real-time is far less important than network usage, and with my current 
> test setup it appears both instances communicate frequently if a 
> subscription is active, even if nothing is happening.
>
> Is there a good way to reduce data usage, for example by limiting the 
> amount of keep-alive messages? One database will likely be idle most of 
> the time.
>
> I estimated the current solution to idle at around 1.4MiB per day. Ideally 
> it would use less than 100KiB a day.

1.4MiB/day is 17 *bytes* per second.  That's not too much.

-- 
Angular momentum makes the world go 'round.

view thread (5+ messages)  latest in thread

Message-ID: <f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com>
Permalink:  ../f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com/
Also on:    postgresql.org/message-id/f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Reducing bandwidth usage of database replication
  In-Reply-To: <f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com>
  References: <ca01dd18-07b5-47ce-9c77-dae07110a019.c559e1a5-0cf7-453a-a6ff-7421ef0b312f.c5613e5d-3da6-4c69-87d0-5bf9d3839848@emailsignatures365.codetwo.com> <DU2P250MB03031FEA6F1EA85D76B07832B4399@DU2P250MB0303.EURP250.PROD.OUTLOOK.COM> <f3b7d9b9-a620-11d2-ffdc-e07b4b9821c1@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox