From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Sridhar N Bamandlapally <sridhar(dot)bn1(at)gmail(dot)com> |
Cc: | PG-General Mailing List <pgsql-general(at)postgresql(dot)org>, PostgreSQL-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Online DW |
Date: | 2016-06-10 17:06:18 |
Message-ID: | CAKFQuwYMgDj4i2G+56Es3=kh81U64NAj2JtGEZT3COZrWuFEwQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Fri, Jun 10, 2016 at 4:11 AM, Sridhar N Bamandlapally <
sridhar(dot)bn1(at)gmail(dot)com> wrote:
> Hi
>
> Is there any feature in PostgreSQL where online DW (Dataware housing) is
> possible ?
>
> am looking for scenario like
>
> 1. Production DB will have CURRENT + LAST 7 DAYS data only
>
> 2. Archive/DW DB will have CURRENT + COMPLETE HISTORY
>
> expecting something like streaming, but not ETL
>
>
The entire DB couldn't operate this way since not every record has a
concept of time and if you use any kind of physical time you are going to
have issues as well.
First impression is you want to horizontally partition your "time-impacted"
tables so that each partition contains only data having the same ISO Week
number in the same ISO Year.
Remove older tables from the inheritance and stick them on a separate
tablespace and/or stream them to another database.
As has been mentioned there are various tools out there today that can
likely be used to fulfill whatever fundamental need you have. "Not ETL" is
not a need though, its at best a "nice-to-have" unless you are willing to
forgo any solution to your larger problem just because the implementation
is not optimal.
Unless you define your true goals and constraints its going to be hard to
make recommendations.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Rakesh Kumar | 2016-06-10 17:12:47 | Re: What is the general opinion on use of tablespaces |
Previous Message | Melvin Davidson | 2016-06-10 16:57:31 | Re: [HACKERS] Online DW |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-06-10 17:38:34 | Re: [COMMITTERS] pgsql: Don't generate parallel paths for rels with parallel-restricted |
Previous Message | Melvin Davidson | 2016-06-10 16:57:31 | Re: [HACKERS] Online DW |