Batch operation is only allowed on up to 100 entities in Table Storage!!! RRS feed

  • Question

  • When I add more than 100 entities to a TableServiceContext and then call context.SaveChanges(SaveChangesOptions.Batch) I get an error.

    Why can't I batch more than 100 entities. Isn't that the point of batching?


    Sunday, November 28, 2010 5:20 PM


  • Hello,

    It is "by design" behavior. you can read more on limitations here:


    In short:

    Requirements for Entity Group Transactions

    An entity group transaction must meet the following requirements:

    • All entities subject to operations as part of the transaction must have the same PartitionKey value.
    • An entity can appear only once in the transaction, and only one operation may be performed against it.
    • The transaction can include at most 100 entities, and its total payload may be no more than 4 MB in size.
    • All entities are subject to the limitations described in Understanding the Table Service Data Model.
    • Marked as answer by Mog Liang Monday, December 6, 2010 8:42 AM
    Sunday, November 28, 2010 8:53 PM