Does Cosmos DB support feature like "adaptive capacity"

JingJing Gu 1 Reputation point
2020-07-30T21:32:43.467+00:00

For the "hot partition" problem, AWS dynamoDB supports adaptive capacity, where the hot partition can have increased limit as long as the total capacity across partitions is still under the limit.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html#bp-partition-key-partitions-adaptive

Document search didn't help me find the equivalent in cosmos db, wondering does it have such support? Any references would be appreciated

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,632 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,331 Reputation points
    2020-07-31T10:52:44.597+00:00

    @JingJing Gu Thank you for your interest in Azure Cosmos DB.

    You can configure your Cosmos databases and containers with Autoscale provisioned throughput
    This allows you to set a "autoscale maximum throughput" and Cosmos DB takes care of automatically and instantaneously scaling the RU's until this maximum limit.

    The advantage here is that Cosmos DB also automatically scales down when your partitions start experiencing less load.

    For example, if you provision a container with Max Throughput (Tmax) of 4000 RU's, Cosmos DB can automatically scale between 400 - 4000 RU/s (0.1*Tmax - Tmax)
    You are billed by the hour only for the highest throughput within that hour, saving you significantly in costs.

    Detailed documentation is here and FAQ's on Autoscale are here.
    Please let us know if you have any further questions.

    --

    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.