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 1jbsb0-0002A6-LQ for pgsql-general@arkaria.postgresql.org; Thu, 21 May 2020 21:19:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jbsaz-0006dz-Ho for pgsql-general@arkaria.postgresql.org; Thu, 21 May 2020 21:19:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbsaz-0006dr-5Z for pgsql-general@lists.postgresql.org; Thu, 21 May 2020 21:19:17 +0000 Received: from campbell-lange.net ([178.79.140.51]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbsaw-000605-71 for pgsql-general@postgresql.org; Thu, 21 May 2020 21:19:16 +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:Cc:To:From:Date:Sender:Reply-To: 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=8Kso/eYgNTpKqwktgt4RxzT98rY/8hHoJCir4rFj/BA=; b=sAFb8BlreW4KzJnp4JQafEZrR Z8YALkj8pbtthg01qIeXjpQSiFlBWVQt6xKeNttY+nDjG9dJlG/qMld91zyDzhN1xPdxYCF5W1mIr WJENhrop/TExemn26NnEuMKt/6oIWlLV27s5d53Jk0KFALODzLksAx3oT5APlFLHQVPng=; 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 1jbsav-0007EA-4v; Thu, 21 May 2020 21:19:13 +0000 Received: from rory by rory-t450s with local (Exim 4.92) (envelope-from ) id 1jbsb3-0002IY-5J; Thu, 21 May 2020 22:19:21 +0100 Date: Thu, 21 May 2020 22:19:21 +0100 From: Rory Campbell-Lange To: Michael Stephenson Cc: pgsql-general@postgresql.org Subject: Re: Strategy for materialisation and centralisation of data Message-ID: <20200521211921.GA8702@campbell-lange.net> References: <20200521143559.GA1283@campbell-lange.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Michael Stephenson (domehead100@gmail.com) wrote: > On Thu, May 21, 2020 at 10:36 AM Rory Campbell-Lange wrote > > Presently I've been thinking of using triggers or materialized views in > > each database to materialise data into a "matview" schema which is then > > shipped via logical replication to an organisation database when > > required. New columns in the matview schema tables would ensure replica > > identity uniqueness and allow the data to be safely stored in common > > tables in the organisation database. > You might find Materialize interesting: > > https://materialize.io/ Hi Michael. Thanks for the pointer. Materialize.io seems cool but we don't deal with streaming data, or am I missing something? Cheers Rory