-sum, avg, count, etc...
Rita 2011-10-26, 10:21
I am trying to do some simple statistics with my data but its taking longer
Here is how my data is structured in hbase.
keys (symbol#epoch time stamp)
The values look like this (for instance microsoft)
there are about 300 values per each key.
So, for instance if I want to calculate avg price of msft I am setting up a
start and stop filter and its able to calculate it by tick. But its taking
about 7 seconds to go thru 500 keys. Is that normal? Is there a faster way
to calculate sum,avg,count in hbase? would I need to redo my schema?
--- Get your facts first, then you can distort them as you please.--
Doug Meil 2011-10-26, 13:18
Gary Helmling 2011-10-26, 18:49
Rita 2011-10-27, 00:27
Rita 2011-10-29, 12:38
Doug Meil 2011-10-29, 15:26