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 1jbsAd-0001Nh-1l for pgsql-general@arkaria.postgresql.org; Thu, 21 May 2020 20:52:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jbsAa-0003ez-7J for pgsql-general@arkaria.postgresql.org; Thu, 21 May 2020 20:52:00 +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 1jbsAZ-0003Ze-LU; Thu, 21 May 2020 20:51:59 +0000 Received: from campbell-lange.net ([178.79.140.51]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbsAW-0003au-Eg; Thu, 21 May 2020 20:51:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=campbell-lange.net; s=it; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MIem4YZV/2d4ZuWLMLZ0wGUqZwnlv8ZS0EAwjoDS2nY=; b=bMFnND5SWIqk6BTCoOSLkWVB/ T/R3uOzKQRUAtnyXAixe6BayJN3IxIcPhmVKU/X+Q1v2jHgtHfY2OEvqd6jLt0H4p709zo6qc+vVN QJ+fflJgAtRs+JYw9hE5A2ObTAce19GOdYuT2EQch0Cx9RwnQ/4VAb99GnPwUCXW/7DBc=; Received: from 195.164.198.146.dyn.plus.net ([146.198.164.195] helo=rory-t450s) by campbell-lange.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbsAU-0006TC-NL; Thu, 21 May 2020 20:51:54 +0000 Received: from rory by rory-t450s with local (Exim 4.92) (envelope-from ) id 1jbsAc-0001zM-UB; Thu, 21 May 2020 21:52:02 +0100 Date: Thu, 21 May 2020 21:52:02 +0100 From: Rory Campbell-Lange To: pgsql-general@lists.postgresql.org, pgsql-general@postgresql.org Subject: Re: Strategy for materialisation and centralisation of data Message-ID: <20200521205202.GA7285@campbell-lange.net> References: <20200521143559.GA1283@campbell-lange.net> <20200521193312.GA317@hermes.hilbert.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521193312.GA317@hermes.hilbert.loc> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 21/05/20, Karsten Hilbert (Karsten.Hilbert@gmx.net) wrote: > On Thu, May 21, 2020 at 03:35:59PM +0100, Rory Campbell-Lange wrote: > > > We have quite a few databases of type a and many of type b in a cluster. > > Both a and b types are fairly complex and are different solutions to a > > similar problem domain. All the databases are very read-centric, and all > > database interaction is currently through plpgsql with no materialised > > data. > > > > Some organisations have several type a and many type b databases, and > > need to query these in a homogeneous manner. We presently do this with > > many middleware requests or pl/proxy. An a or b type database belongs to > > 0 or 1 organisations. > > Might postgres_fdw help in any way ? Thanks for the suggestion. As I noted we are already using pl/proxy and it works well, although we are soaking up a lot of connections with it.