Re: PG Schema to be used as log and monitoring store

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PG Schema to be used as log and monitoring store
Date: 2017-12-10 09:01:24
Message-ID: p0it4s$s7j$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I actually made some tests on my own (using generate_series) and did
> not find any disk space or performance issues yet.
> I've also found this paper from 2012 about "Sensor Data Storage
> Performance: SQL or NoSQL, Physical or Virtual" [2] which confirms my
> observations.
>
> Now, you have to know that there are about 100 attributes for the
> machines/tables - not only 40 - so I initially thought, it's easier to
> setup the schema using bit(50) and float8[50].

Did you try to use a (single) hstore or jsonb column instead where the attribute name is the key?

You'd lose some type safety, but those data types can be compressed, so that might be worth the trade off

Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Keller 2017-12-10 13:16:01 Re: PG Schema to be used as log and monitoring store
Previous Message John R Pierce 2017-12-10 01:53:38 Re: PG Schema to be used as log and monitoring store