Re:RethinkDB 1.9: Indexing and query runtime performance
by coffeemug on Wednesday September 11, 2013 @02:26PM
(#6368964)
For your workload a columnar store will always outperform a row-based store (like RethinkDB). Rethink does work for analytics, but it can never compete with columnar stores (like Vertica, etc.) on the workloads those systems are good at.
Re:RethinkDB 1.9: Indexing and query runtime performance
by coolsunglasses on Thursday September 12, 2013 @12:18AM
(#6372031)
Your honesty is much appreciated by the rest of us. Don't ever lose that please.
Re:RethinkDB 1.9: Indexing and query runtime performance
by vosper on Wednesday September 11, 2013 @02:37PM
(#6369037)
That makes sense - thanks for info.
Re:RethinkDB 1.9: Indexing and query runtime performance
by gadamc on Wednesday September 11, 2013 @07:57PM
(#6371044)
If your queries are largely always the exact same and you need to update your sums as new data is added, you could look at the incremental MapReduce of CouchDB/Cloudant. A single CouchDB might hold your data, but Cloudant would scale it out for you. For example, in my experience I have 10 million documents, each with about 100 key-value pairs, where each value is a number. I have a MapReduce function that calculated the statistics of those values. With Cloudant, those statistics are done in the Reduce step and are done incrementally, so I always have the latest information. Additionally, I can select date ranges for the statistics and its already pre-calculated for me. Its very fast response.
For example https://edelweiss.cloudant.com/automat/_design/cryo_2/_view/...
These are the stats for a particular measured value between two dates. Change the dates and you'll see that the return is pretty quick.
Change startkey to "T_Bolo", 1378940038 and you'll get the statistics of that value for the last ~hour. You get sum, but also average and standard deviation.
full disclosure: I work at Cloudant.
cheers, Adam
Re:RethinkDB 1.9: Indexing and query runtime performance
by JulianMorrison on Wednesday September 11, 2013 @03:19PM
(#6369335)
You might want to look at that "precog" thing that was mentioned here on HN yesterday. It's for analytics on columnar data.
Re:RethinkDB 1.9: Indexing and query runtime performance
by JulianMorrison on Wednesday September 11, 2013 @06:08PM
(#6370464)
Re:RethinkDB 1.9: Indexing and query runtime performance
by homerowilson on Wednesday September 11, 2013 @04:03PM
(#6369637)
Maybe try http://SciDB.org. It's a free GPL array database for analytics
It performs really well (sub-second queries over millions of rows) but it's licensed by data volume and (more importantly) it's a single-server solution - at some point we're going to need a distributed database.
Is RethinkDB suitable for analytics workloads like this?