Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgWN-0007b1-Q3 for pgsql-general@arkaria.postgresql.org; Mon, 13 Dec 2021 08:17:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mwgWL-0004DE-Nw for pgsql-general@arkaria.postgresql.org; Mon, 13 Dec 2021 08:17:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgWL-0004D5-DG for pgsql-general@lists.postgresql.org; Mon, 13 Dec 2021 08:17:17 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgWI-0001Wy-1c for pgsql-general@lists.postgresql.org; Mon, 13 Dec 2021 08:17:16 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 1BD8H1sV026134 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Dec 2021 10:17:06 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 1BD8H0uS037727; Mon, 13 Dec 2021 10:17:00 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Postgresql + containerization possible use case To: Adrian Klaver , Michael Lewis Cc: PostgreSQL General References: <90c8b448-7401-a5cd-804d-bad76ebacb19@matrix.gatewaynet.com> <86345c3d-0941-3bd9-35f4-1de07acd4006@aklaver.com> From: Achilleas Mantzios Message-ID: Date: Mon, 13 Dec 2021 10:17:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <86345c3d-0941-3bd9-35f4-1de07acd4006@aklaver.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-42.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_IT_PARTNERS,DYN_HAM_NAUTICAL,DYN_HAM_VMA_BODY,TW_PG autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Michael, Adrian On 10/12/21 11:28 μ.μ., Adrian Klaver wrote: > On 12/10/21 12:06, Michael Lewis wrote: >> On Fri, Dec 10, 2021, 2:24 AM Achilleas Mantzios > wrote: >> >>     Hi >>     we are running some 140 remote servers (in the 7 seas via satellite >>     connections) >> >> >> How are they used? What is in Postgres? Should that all have the exact same read only data at all times? >> > > A previous explanation from Achilleas Mantzios , not sure if this is still exactly how it works: > > https://www.postgresql.org/message-id/3124961.tmAbAIay6W%40smadev.internal.net Thank you Adrian, the situation is the similar with the one you posted above (in 2012), albeit sizes/number of remote servers has increased. In order to respond to Michael, Remote pgsql servers are masters. A large majority of tables is read-only (by software, not enforced by other means), but those servers they have their very important write functions as well. And the data are individual for any of those 100+ servers. There are no two identical DBs in the whole topology. Every server has its own data specific for this vessel. > > > -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt