Re: Time Series on Postgres (HOWTO?)

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Time Series on Postgres (HOWTO?)
Date: 2011-01-15 02:49:41
Message-ID: igr205$q40$2@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2011-01-15, bubba postgres <bubba(dot)postgres(at)gmail(dot)com> wrote:
> --000e0cd332267ac2e60499d7ceb2
> Content-Type: text/plain; charset=ISO-8859-1
>
> I've been googling, but haven't found a good answer to what I should do if I
> want to store time series in Postgres.

> It would be nice if I could use 1 sample per column,(because updating
> individual columns/samples is clear to me) but postgres doesn't compress the
> row (which is bad because of high amount of repetitive data.. Easily 10X
> bigger.

if there are lots of equal readings perhaps you can drop them and only
record when the reading changes.

this would probably require one table per source.

--
⚂⚃ 100% natural

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jaiswal Dhaval Sudhirkumar 2011-01-15 05:47:09 HA solution
Previous Message Daniel Popowich 2011-01-15 02:14:02 plpythonu memory leak