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