AzureCosmosDB / PartitionKeyDeleteFeedbackGroup

Private repo for the preview of the delete by partition key value feature in Cosmos DB.
3 stars 0 forks source link

Is the fraction on the allowed throughput per partition-delete or fixed limit? #3

Closed ImrePyhvel closed 3 years ago

ImrePyhvel commented 3 years ago

The overall deletion tests were a success and worked like a charm.

Currently, the 0.1 fraction is set by the Cosmos DB service. We are looking into ways to expose this control to the user and would welcome your feedback.

While the general 10% margin seems like a good default, it is not clear what happens when multiple partitions are deleted at the same time. Is the same 10% reserved for all deletions or is the actual impact on RU capacity Nx10%?

Having a better control of this "allowed throughput" seems necessary for some scenarios, I do hope it will not add any delays to general release of the base feature.

deborahc commented 3 years ago

Glad that it worked for your tests. The 10% is reserved for all deletions, we can clarify the documentation.

Can you tell us more about the scenarios where you'd like to have more custom control of the allowed throughput?

ImrePyhvel commented 3 years ago

For my current needs the 10% deletion reservation is perfectly ok and the imagined need is more on the hypothetical side.

It may well be that making this configurable is more hassle than it's worth, especially if the index sync delay gets sorted out.

Anyway, I won't complain if it remains at fixed 10%. It's still a highly anticipated feature.