An Azure NoSQL database service for app development.
Hi Augustine,
Your understanding is correct. For an autoscale container, the minimum maximum RU/s that you can lower to is based on:
MAX(1000, highest maximum RU/s ever provisioned / 10, current storage in GB × 10)
rounded to the nearest 1000 RU/s.
So if the container was previously scaled to about 390,000 RU/s, the current floor of 39,000 RU/s is expected, even if the current storage is much lower.
I do not think the error message is giving the full reason. It mentions consumed storage, but based on the formula, the effective blocker in your case appears to be the historical maximum RU/s value.
As far as I know, there is no public self-service option to reset or decay that historical high-water mark on an existing container. If you need to get below that floor, the practical options are:
- Open a Microsoft support case and ask if any backend remediation is possible for this specific container.
- Migrate the data to a new container with the desired lower autoscale max RU/s.
- Review whether partition merge helps your physical partition layout, but I would not assume it resets the historical RU/s floor unless Microsoft Support confirms that.
The “why no decay/reset” part is probably a product design question for the Cosmos DB engineering team. The current public documentation describes the formula but does not document a user-controlled reset mechanism for the historical peak.