Earlier quoted context omitted.
When it comes to time series, reasoning in terms of byte size does not really make sense, it's better to state how many datapoints you need to handle and in how many distinct time series they are distributed.
8-16ish datapoints per sample and they'll be distributed more or less evenly during the day and then pretty much go dead at night. There may or may not be a value for every data point at every sample.
Ask HN: What DB to use for huge time series?
111–120 of 135 posts
Re: Ask HN: What DB to use for huge time series?
#112I have used http://influxdb.com/ , I have used it with a few million records. Getting the data out is a bit slow because it goes over HTTP. Also make your InfluxDB library of choice can deal with HTTP chunking. I found that if you request a lot of data from InfluxDB and the system does not have enough memory, the process will silently die. If you have mega huge data http://opentsdb.net/ seems pretty decent, however I…
I like InfluxDB and still use it.
Re: Ask HN: What DB to use for huge time series?
#113Have you considered opentsdb or graphite? I love graphite because of the nice frontend interface and functionality it provides for visualizing and transforming your metrics.
Development of graphite is effectively dead. The datastore component (carbon and whisper) has design issues, and the official replacement (ceres) hasn't seen any commits this year. There are a some alternatives, though. For data storage Cyanite [0] speaks the graphite protocol and stores the data in Cassandra. Alternately, InfluxDB [1] speaks the graphite protocol and stores the data in itself To get the data back ou…
Last I looked at Graphite I balked at the data store design (very I/O heavy) and the awful front ends (very limited graphing and reporting capabilities). But I haven't discovered a good alternative that has traciton. Diamond seems like the thing to use for collecting metrics (instead of collectd), though.
Edit: Grafana looks good, actually.
Re: Ask HN: What DB to use for huge time series?
#114Re: Ask HN: What DB to use for huge time series?
#115My company is currently using Mongo, and while it works, I wouldn't recommend it. We're looking at Cassandra and Elasticsearch, which seems to be a lot more promising.
Beware of using Elasticsearch as a primary DB. Kyle Kingsbury has shown that it loses an awful lot of data during a partition, despite their claims. Example: http://aphyr.com/posts/317-call-me-maybe-elasticsearch
Re: Ask HN: What DB to use for huge time series?
#116If you're up for considering a cloud service, you might want to check out Treasure Data ( http://treasuredata.com/ ). The free plan allows 10M records per month with a maximum capacity of 150M. Full disclosure: I work there.
Does treasure data have a dedicated storage engine for time series? This kind of data has specific needs which are not met by general purpose storage layers.
Re: Ask HN: What DB to use for huge time series?
#117* I've done it in PostgreSQL using triggers and table inheritance. With this technique trimming old data is as simple as dropping old tables.
* Logstash folks use daily indices on ElasticSearch to store log data which is time series by nature.
* I have heard from quite a few people that Cassandra works really well with this data model too.
Re: Ask HN: What DB to use for huge time series?
#118http://blog.foundationdb.com/designing-a-schema-for-time-ser...
One of our largest customer installations is for this purpose.
Re: Ask HN: What DB to use for huge time series?
#119KDB+ http://kx.com/kdb-plus.php I have no affiliation, other than being a customer. Its as close to a standard as you can find in finance. There are many useful tutorials out there that let you try it out and you can usually get an eval version to try before you buy. http://code.kx.com/wiki/Startingkdbplus/contents If you find something that is comparable in terms of performance and features, but cheaper, please mail…
Re: Ask HN: What DB to use for huge time series?
#120Redshift. It scales superbly.