How get total row count in Azure Table Storage?
-
2012년 4월 21일 토요일 오후 4:56How get total row count in Azure Table Storage?
모든 응답
-
2012년 4월 21일 토요일 오후 5:32
Please note that this feature is not supported just yet in Azure Table Storage. One way to do so would be to list all entities in a table and get their count. Depending on the size of your table, it may turn out to be a really expensive and long operation. You may look into query projection functionality to limit the data returned by Windows Azure Table Storage Service and thus controlling the cost and time of the operation.
Hope this helps.
Thanks
Gaurav
- 답변으로 표시됨 Arwind - MSFTModerator 2012년 4월 27일 금요일 오전 10:58
-
2012년 4월 22일 일요일 오후 7:17
You could maybe benefit from the Group transaction support inside a partition. Store an entity responsible for holding the total numbers.
Then on each new insert of "the other entity" you should also increment the count on your totalentity.
It will reduce the query you would have to do on the table a lot.
/Rasmus
Best regards Rasmus Christensen
- 답변으로 제안됨 Rasmus Christensen 2012년 4월 22일 일요일 오후 8:57
-
2013년 1월 12일 토요일 오후 8:10
- 편집됨 New user123 2013년 1월 13일 일요일 오전 4:59
-
2013년 1월 13일 일요일 오전 5:01
This feature is not yet implemented. Unfortunately I don't know when this will be implemented.
Hope this helps.

