group by - Aggregate functions on windows azure storage tables -
i have windows azure storage table in storing more 1000k+ rows(entities). wants perform few aggregate functions on table counting on specific column specific condition, average
, total
, min
, max
, group by
(as in normal sql). how can in windows azure storage tables?
the way pretty pull down entities , run aggregates on them in memory.
if have keep information date store these aggregates in place , update them every time new entity added. instance average sum/count
can have table item stores current sum , count , when add new entity update sum , count values.
make sure use optimistic concurrency can catch race conditions etc. if table entities share same partition key can operation on same transaction.
Comments
Post a Comment