views:

41

answers:

2

I want to store a large number of Time Series (time vs value) data points. I would prefer using MySQL for the same. Right now I am planning to store the time series as a Binary Blob in MySQL. Is this the best way, what would be the best approach.

A: 

You should store your values as whatever type they are (int, boolean, char) and your times as either date, or int containing the UNIX timestamp, whatever fits your application better.

fredley
Wont this cause scaling issues? In my scenario, the number of rows will increase drastically.
sheki
A: 

If you want to process the information in any way using mysql you should store it as a date type, numeric type . The only scaling issue i see (if you only intend to store the information) is extra disk size.

aeon