Ask HN: What DB to use for huge time series?
31–40 of 135 posts
Re: Ask HN: What DB to use for huge time series?
#32I'm not affiliated with them, I just met them once.
Re: Ask HN: What DB to use for huge time series?
#33First question - do you even need a database right now? Have you for example considered using CSV files and simply loading those files into Pandas or R on demand? I am currently working on a project analyzing massive amounts of options data and have found this approach to be both quite easy as well as flexible to work with... and as my project matures I may move select parts of it into a database.
What is "massive" for you? I was under impression you can't use R or pandas for anything that doesn't fit into memory.
Re: Ask HN: What DB to use for huge time series?
#34It would be useful to know what "huge" means here. And how you want to look up the data. That said, I've used Cassandra in the past for timeseries data as one of the useful queries that can be made is a range query (if the composite key is set up correctly)
Re: Ask HN: What DB to use for huge time series?
#35We're using it in production... it's still early but there are about 1-2 dozen moderate sized installs (like 10 box installs).
We're pretty happy with it so far..
Re: Ask HN: What DB to use for huge time series?
#36For a good answer, you need to provide a lot more detail in the requirements: - What do the writes look like? If they are coming in a stream how many writes per second do you need to support? If they are a bulk load how large and frequent are the batches? Simple numerical values? - What do the reads look like? How many queries per second do you need to support? How much data per query? How fast do the queries need to…
Re: Ask HN: What DB to use for huge time series?
#37Re: Ask HN: What DB to use for huge time series?
#38Re: Ask HN: What DB to use for huge time series?
#39Re: Ask HN: What DB to use for huge time series?
#40For a good answer, you need to provide a lot more detail in the requirements: - What do the writes look like? If they are coming in a stream how many writes per second do you need to support? If they are a bulk load how large and frequent are the batches? Simple numerical values? - What do the reads look like? How many queries per second do you need to support? How much data per query? How fast do the queries need to…
Writes: not totally sure in terms of how the data is being packaged before being sent yet, but it'll probably be more than 10 writes a second but less than 1000 initially(?). Not sure yet if we're aggregating and batching before sending or if we are, to what degree.
Availability: If it has brief breaks where it just misses some data (Reads will likely be grabbing the last n records of a given set of sensors maybe with some light math on it if the query language supports it, though there might be an easier way to cache recent history and then only need to go to the big list for responding to a longer-term issue. Also the nature of reads is very subject to change since there's a bunch of use-cases for the data being kicked around and I haven't gone through what each use's reads would look like yet.
New data needs to show up in reads in soft-real time. The napkin-estimate indicates that we might be looking at asking for about 6-80MB returned per query as a generally large but perhaps not max query, bigger operations that dealt with legitimately huge amounts of data will probably be scheduled around lighter periods/put on different machines (not sure how adding more machines reading would impact since I don't know what db it will be yet).
Ideally keep as much history as humanly possible, possibly moving them to physical archival at some point (1yr+?).