Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Adventures in MongoDB Collection Migration

DZone's Guide to

Adventures in MongoDB Collection Migration

· Database Zone
Free Resource

Learn how to create flexible schemas in a relational database using SQL for JSON.

The Dropbox blog has an excellent post for anyone using MongoDB on a large scale.  The startup, Mailbox, spent a lot of time making their own set of tools after discovering that the cloneCollection and renameCollection commands built into MongoDB weren't going to help them meet their scaling and performance reads, which they ran into often was MongoDB's database-level write lock.

The tools they created, dubbed "Hydra," have been open sourced on GitHub.  You should definitely read this post if you want to get an idea of how some really awesome developers solved some very tricky scalability problems in their MongoDB deployment.

Create flexible schemas using dynamic columns for semi-structured data. Learn how.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}