Re: Triggers, Stored Procedures to Aggregate table ? - Mailing list pgsql-novice

From Richard Broersma
Subject Re: Triggers, Stored Procedures to Aggregate table ?
Date
Msg-id AANLkTim2VTbN_gMeo2qtRwHyOUCr-ihb_IjHgkwpA1DZ@mail.gmail.com
Whole thread Raw
In response to Triggers, Stored Procedures to Aggregate table ?  (Arvind Sharma <arvind321@yahoo.com>)
List pgsql-novice
On Thu, Jul 8, 2010 at 7:27 AM, Arvind Sharma <arvind321@yahoo.com> wrote:

> Very new to the Triggers and Sprocs.
>
> I have few tables which stores raw data on minute basis. I want to aggregate
> this data into another table to store every hour worth of data. And from
> there on - from this hourly Aggregated table, want to store into another
> Aggregate Table for a day's worth of data.
>
> You got the direction I am going with this.. :-)....  Hourly, Daily, Weekly
> aggregated data into their respective tables.
>
> Any pointers or suggestions or examples would be highly appreciated !

Here is a resource that describes various ways to create materialized views:

http://tech.jonathangardner.net/wiki/PostgreSQL/Materialized_Views

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-novice by date:

Previous
From: Arvind Sharma
Date:
Subject: Triggers, Stored Procedures to Aggregate table ?
Next
From: Joe Conway
Date:
Subject: Re: Triggers, Stored Procedures to Aggregate table ?