Re: [PERFORM] optimizing for temporal data behind a view

2009-09-17 Thread हृषीकेश मेहेंदळ े
Hi Richard, > CREATE VIEW geodataview AS SELECT obstime + (s.a*5 || ' > seconds')::INTERVAL AS obstime, statid, geovalue_array[s.a+1][1] AS > x_mag, geovalue_array[s.a+1][2] AS y_mag, geovalue_array[s.a+1][3] AS > z_mag FROM generate_series(0, 11) AS s(a), geodata1sec; To my (admittedly untrained

[PERFORM] optimizing for temporal data behind a view

2009-09-17 Thread Richard Henwood
Hi All, I have a large quantity of temporal data, 6 billion rows, which I would like to put into a table so I can exploit SQL datetime queries. Each row represents a geophysical observation at a particular time and place. The data is effectively read-only - i.e. very infrequent updates will be per