AzureRmStorageTable
AzureRmStorageTable copied to clipboard
Batch operation support: offer
This is providing batch capabilities for adding records. I have not built out tests or docs, but I will do so if this PR is of interest, as an initial contribution offer.
If this is of interest I also have a question about the Save-AzTableBatch name. The 'Save' verb sounds about right, but I'm easily convinced to use something else.
Hi @davidroberts63 , this seems very interesting, have you noticed significant performance improvements on this one?
Yes. In my situation I was processing about 1.9 million records. Doing them in batches of 100 (the limit for a TableBatch) took my processing from 10-20 records per second, for individual record operations, to 150-200 records per second for batching. It also reduces the number of transactions involved in the cost of the table storage account.
Cool, thanks for the info, I think we should move forward with this PR.
To move forward, a few comments:
- Regarding Save-AzTableBatch, the Invoke verb seems more appropriate in this case.
- Add the test case
- Let's add the cmdlet help at (https://github.com/paulomarquesc/AzureRmStorageTable/tree/master/docs)
- Update the main documentation (docs/README.md) to have an end-to-end example.
Hi @davidroberts63, are you still going to continue with this PR? If, yes, can you please provide the changes I asked in my previous comment?