Re: Storing sensor data

Поиск
Список
Период
Сортировка
От Alexander Staubo
Тема Re: Storing sensor data
Дата
Msg-id 88daf38c0905280639t754e3928r449da46da04b4c1b@mail.gmail.com
обсуждение исходный текст
Ответ на Storing sensor data  (Ivan Voras <ivoras@freebsd.org>)
Ответы Re: Storing sensor data  (Ivan Voras <ivoras@freebsd.org>)
Список pgsql-performance
On Thu, May 28, 2009 at 2:54 PM, Ivan Voras <ivoras@freebsd.org> wrote:
> The volume of sensor data is potentially huge, on the order of 500,000
> updates per hour. Sensor data is few numeric(15,5) numbers.

The size of that dataset, combined with the apparent simplicity of
your schema and the apparent requirement for most-sequential access
(I'm guessing about the latter two), all lead me to suspect you would
be happier with something other than a traditional relational
database.

I don't know how exact your historical data has to be. Could you get
by with something like RRDTool? RRdTool is a round-robin database that
stores multiple levels of historical values aggregated by function. So
you typically create an "average" database, a "max" database and so
on, with the appropriate functions to transform the data, and you
subdivide these into day, month, year and so on, by the granularity of
your choice.

When you store a value, the historical data is aggregated
appropriately -- at appropriate levels of granularity, so the current
day database is more precise than the monthly one, and so on -- and
you always have access to the exact current data. RRDTool is used by
software such as Munin and Cacti that track a huge number of readings
over time for graphing.

If you require precise data with the ability to filter, aggregate and
correlate over multiple dimensions, something like Hadoop -- or one of
the Hadoop-based column database implementations, such as HBase or
Hypertable -- might be a better option, combined with MapReduce/Pig to
execute analysis jobs

A.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Nikolas Everett
Дата:
Сообщение: Re: Storing sensor data
Следующее
От: Ivan Voras
Дата:
Сообщение: Re: Storing sensor data