4 ms·
Hi, I am from Cosmos DB engineering team. Yes, for shared throughput database, you will need to create a new database. - You can create MongoDB API collection
by rnehme 7y ago
Hi, I am from Cosmos DB engineering team.
Yes, for shared throughput database, you will need to create a new database.
- You can create MongoDB API collections with shard keys defined. It is fully supported by MongoDB driver
- Support MongoDB collections without shard key specified is coming in May
Thank you for the feedback on the docs and the missing code samples. We will add those in the docs.
Thanks!
- tasubotadas 7y agoThanks. I wasn't aware that a shard key is mapped to a partition key.