सामग्री पर जाएँ
← Cosmos DB overview पर वापस
Killer #10

Migration Wizard Atlas ↔ Cosmos (bidirectional)

Companies Cosmos से Atlas (महँगा/सीमित) या Atlas से Cosmos (Azure-only mandate) पर जा रही हैं। NoSqlStudio market में bidirectional wizard वाला एकमात्र tool है। स्वचालित Translation matrix + estimates + 5 Cosmos modes में bill projection + features dropped की सूची + mongosh script generator + पूर्ण Discover → Translate → Create → Indexes → Copy → Verify stepper।

ऐप में यह कहाँ रहता है: Tools → Cosmos DB → Migration Wizard (Cosmos ↔ Atlas)

यह क्या करता है

  • Direction selector: Cosmos → Atlas | Atlas → Cosmos।
  • Realistic defaults के साथ JSON-editable collection plans।
  • Estimates: data size GB, collection count, index count, RU/s steady-state।
  • Holt-Winters synthesis के माध्यम से 5 Cosmos modes (manual / autoscale / serverless / reserved 1y / 3y) में bill projection।
  • Features dropped की सूची: text index, compound > 4 paths, hashed-in-compound — प्रति row explanation के साथ।
  • प्रति direction translation matrix (TTL, partition/shard, composite/compound, $search routing, transactions, stored procs)।
  • createCollection + createIndex के लिए mongosh script generator।
  • Execution stepper: Discover → Translate → Create target → Create indexes → Copy data → Verify।

चरण-दर-चरण

  1. 1

    Direction चुनें

    Cosmos → Atlas (escape route) या Atlas → Cosmos (entry)। Translation matrix स्वचालित रूप से बदल जाता है।

  2. 2

    Plan JSON edit करें

    उदाहरण के रूप में 2 collections के साथ default। अपनी के लिए समायोजित करें: प्रत्येक entry में ns, estDocCount, estAvgDocBytes, partitionKey (Cosmos side), indexes[]।

  3. 3

    Estimates देखें

    Atlas→Cosmos के लिए Data size GB, estimated RU/s। Migrate करने से पहले निर्णय लेने के लिए 5 modes में bill projection।

  4. 4

    Features dropped की समीक्षा करें

    Table उन features को सूचीबद्ध करती है जो migration में खो जाएँगी + recommendation ($search local NoSqlStudio? Cosmos vCore? Atlas पर रखें?)।

  5. 5

    Translation matrix की जाँच करें

    TTL, partition vs shard key, composite vs compound, stored procs, transactions, आदि — प्रत्येक पाठ्य नियम के साथ।

  6. 6

    mongosh script copy करें

    "Copy script" बटन → destination पर createCollection + createIndex के लिए पूर्ण command।

  7. 7

    Plan चलाएँ (preview)

    Stepper preview में Discover→Translate→Create→Indexes चलाता है। Data copy DB Copy workspace (Ctrl+Alt+P) को सौंपा जाता है — progress bar के लिए वहाँ जारी रखना चाहेगा।

वास्तविक use cases

Cosmos से Atlas के लिए exit

Company बढ़ी, Cosmos caps (बिना text/wildcard/$search) पर hit की। Migration Wizard: 12 collections, 47 indexes, 380GB। DB Copy के माध्यम से अनुमानित समय 4h। सफलता, $2.4k/माह बचत + Atlas Search features सक्रिय।

Atlas से Cosmos के लिए entry (regulatory)

Healthcare company को Azure data residency चाहिए थी। Wizard ने दिखाया कि $search को NoSqlStudio local OR Cosmos vCore पर migrate करना होगा। निर्णय: vCore। Migration smooth।

अपने Cosmos account पर इसे देखने के लिए तैयार?NoSqlStudio डाउनलोड करेंअगला → ⚡ WHAT-IF Lab (killer)