How to force CosmosDB physical partitioning?

kiruva 21 Reputation points
2020-06-04T13:49:49.087+00:00

Is there a way to force physical partitioning or replicate what happens when passing 50GB?

We need to replicate this behavior in an azure hosted dev environment.
The dev environment has a 5GB collection, while the production has passed 50GB.

This results in queries not behaving the same as the physical partitioning has a paging behavior.

We have been able to replicate in the CosmosDB Emulator by setting the throughput to a very high value.
This isn't very desirable for something hosted in Azure.

So, is there a way to replicate this paging behavior in a smaller azure hosted environment?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,439 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mark Brown - MSFT 2,761 Reputation points Microsoft Employee
    2020-06-04T13:59:44.96+00:00

    There is no way to simulate this. You will need to increase RU/s or back fill your data into your dev environment. If you only need this for a short period of time for testing I suggest configuring the container for TTL and then, TTL the data off when you are done testing.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful