Conference India 2026 • Nov 26, 2026 • Session details

Migrating 47 TB in Under 48 Hours: Lessons from the Front Lines

Sandeep S. Nair

How do you migrate 47 terabytes of production data from MongoDB to Azure DocumentDB in under 48 hours? Defer indexing, consolidate your shards, and cut operational costs by 40 percent.

Pause
Mute Enter Fullscreen
#1 about 4 min

Overview of Azure DocumentDB and open-source hosting options

Managing self-hosted databases creates operational overhead, which Azure DocumentDB solves by offering a fully managed, MongoDB-compatible PaaS and an open-source Kubernetes option.

#2 about 3 min

Aligning cross-functional teams for database migration planning

Unaligned teams can delay migrations at the final stage, so involving application, data, infrastructure, and security stakeholders upfront ensures clear accountability.

#3 about 4 min

Assessing source clusters with VS Code and Postgres architecture

Because Azure DocumentDB uses a MongoWire protocol gateway over a Postgres engine, running a VS Code assessment is necessary to identify unsupported commands and compression differences.

#4 about 3 min

Evaluating oplog windows and redesigning target sharding topologies

Small oplog windows and cross-node lookups can break or slow down online migrations, requiring teams to size oplogs properly and co-locate dependent collections on 32 TB disks.

#5 about 2 min

Running iterative trial migrations to optimize target configurations

Directly copying source topology to the target fails to account for network and hardware differences, making iterative trial migrations essential for extrapolating transfer speeds.

#6 about 6 min

Configuring online sync, high availability, and parallel migration jobs

Maximizing write speeds without choking network resources requires deferring indexing and high availability setups until post-migration while dividing transfers into controllable parallel jobs.

#7 about 5 min

Validating data consistency with document counts and hash sampling

Document counts miss in-place updates during validation, so teams must combine automated random hash sampling with index verification before executing the final stakeholder cutover.

#8 about 4 min

Evaluating cloud migration ROI and resolving collection lookup dependencies

To maximize cloud ROI and prevent slow cross-shard queries, profile logs are analyzed to build relationship graphs that group dependent collections onto the same target shard.

#9 about 4 min

Managing replication lag and write downtime during online cutover

Continuous writes prevent absolute synchronization during online migrations, requiring a brief write downtime during off-peak hours to drain the replication lag and finalize hash comparisons.

Matching moments

7:52 min

Audience questions on database performance, deployments, and data migrations

Gregor Bauer Gregor Bauer · LIVE

2:01 min

Migrating existing applications from MongoDB to Postgres

Nikita Shamgunov Nikita Shamgunov · World Congress 2024

53 sec

Assessing databases with the Cosmos DB migration tool

Radu Vunvulea Radu Vunvulea · World Congress 2022

2:11 min

Executing massive cloud network migrations while maintaining live systems

Dana Lawson Dana Lawson +1 · World Congress 2026 Europe

2:27 min

Container migration and operational complexity challenges

Raphael Manke Raphael Manke · World Congress 2023

2:21 min

Migrating millions of user accounts at scale without downtime

George Asafev · World Congress 2023