Re: Postgres and data warehouses - Mailing list pgsql-general

From John R Pierce
Subject Re: Postgres and data warehouses
Date
Msg-id 54FCD3F3.2010307@hogranch.com
Whole thread Raw
In response to Postgres and data warehouses  (Nigel Gardiner <nigelgardiner@gmail.com>)
Responses Re: Postgres and data warehouses
List pgsql-general
On 3/8/2015 7:40 AM, Nigel Gardiner wrote:
> I'm looking at making a data warehouse to address our rapidly
> spiralling report query times against the OLTP. I'm looking first at
> what it would take to make this a real-time data warehouse, as opposed
> to batch-driven.

we use a hybrid architecture.    we have a 'republisher' process that
repeatedly slurps new data from the OLTP database and sends it to the
back end databases, using a 'publish/subscribe' messaging bus.
several back end databases subscribe to this data, and their subscriber
processes insert the incoming data into those OLAP and various other
reporting databases.   this way the reporting databases can have
completely different schemas optimized for their needs, and have
different retention requirements than the OLTP database.

this republisher is usually within a few seconds of live new data. in
our case its made fairly easy to track 'new' because all our OLTP
transactions are event-oriented.


--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: Tim Uckun
Date:
Subject: Benchmarking partitioning triggers and rules
Next
From: Rob Sargent
Date:
Subject: Re: Postgres and data warehouses