Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

555
Views
Can cosmos DB be used without sharding/partitioning enabled?

We want to migrate from native mongoDB to Azure-hosted cosmosDB. While creating collections we see a field "shard key" which is mandatory, but currently our mongo DB set-up does not support sharding. Is it possible to migrate to cosmos without enabling sharding and with only minimal changes in our application?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Yes, it's possible. Option is right there in the portal when provisioning a new collection.

enter image description here

over 4 years ago · Santiago Trujillo Report

0

I guess the cosmos UI behaves weirdly. When I try to create a new collection by clicking on the ellipses button on a DB or choose existing DB, it doesn't provide the option to create collection without supplying shard key.

new collection in a DB When I create a new collection and choose to create a new DB then and there, and choose not to have a shared throughput, in that case only I get the option to create collection without sharding.

enter image description here

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!