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.
How to force CosmosDB physical partitioning?
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?
-
Mark Brown - MSFT 2,766 Reputation points Microsoft Employee
2020-06-04T13:59:44.96+00:00