pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Henry Ortega <juandelacruz@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Best way to do this query..
Date: Fri, 25 Aug 2006 15:59:17 -0700 (PDT)
Message-ID: <20060825225917.28430.qmail@web31809.mail.mud.yahoo.com> (raw)
In-Reply-To: <2bffcc330608251343r67a73ab6x51fde94cc74dbdd4@mail.gmail.com>

> Yes the data does not change once it is logged.
> I am quite new to this whole thing, do you mind elaborating more
> about the OLAP data model you mentioned about?

Well just to give a generalization using an OLAP as your data model, the data is stored in a
denormalized yet defined model.  Data integrety is maintained because by definition all records
inserted will remain static.

Here are some additional links that can be used for getting started:

http://en.wikipedia.org/wiki/OLAP
http://www.amazon.com/gp/product/0123695120/sr=8-4/qid=1156546075/ref=pd_bbs_4/002-4041472-4877644?i...


Another alternative is to create a materialized view that will update itself only when records are
inserted or updated.

http://jonathangardner.net/PostgreSQL/materialized_views/matviews.html

Regards,

Richard Broersma Jr.



view thread (5+ messages)

Message-ID: <20060825225917.28430.qmail@web31809.mail.mud.yahoo.com>
Permalink:  ../20060825225917.28430.qmail@web31809.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20060825225917.28430.qmail@web31809.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rabroersma@yahoo.com, juandelacruz@gmail.com
  Subject: Re: Best way to do this query..
  In-Reply-To: <20060825225917.28430.qmail@web31809.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox