Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
How get total row count in Azure Table Storage?

Answered How get total row count in Azure Table Storage?

Alle Antworten

  • Samstag, 21. April 2012 17:32
     
     Beantwortet

    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

  • Sonntag, 22. April 2012 19:17
     
     Vorgeschlagene Antwort

    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

  • Samstag, 12. Januar 2013 20:10
     
     

    Gaurav,

    Is this feature supported now to return the count (or) it is yet to be implementated?



    • Bearbeitet New user123 Sonntag, 13. Januar 2013 04:59
    •  
  • Sonntag, 13. Januar 2013 05:01
     
     

    This feature is not yet implemented. Unfortunately I don't know when this will be implemented.

    Hope this helps.