Skip to Content
Seven Databases in Seven Weeks, 2nd Edition
book

Seven Databases in Seven Weeks, 2nd Edition

by Luc Perkins, Eric Redmond, Jim Wilson
April 2018
Beginner to intermediate
360 pages
8h 54m
English
Pragmatic Bookshelf
Content preview from Seven Databases in Seven Weeks, 2nd Edition

Day 3: Replica Sets, Sharding, GeoSpatial, and GridFS

Mongo has a powerful ability to store and query data in a variety of ways. But then again, other databases can do those things, too. What makes document databases unique is their ability to efficiently handle arbitrarily nested, schemaless data documents. Thus far, we’ve run Mongo as a single server. But if you were to run Mongo in production, you’d want to run it as a cluster of machines, which would provide for much higher availability and enable you to replicate data across servers, shard collections into many pieces, and perform queries in parallel.

images/mongo-crud.png

Replica Sets

Mongo was meant to scale ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Power BI - The Complete Masterclass - 2025 EDITION

Microsoft Power BI - The Complete Masterclass - 2025 EDITION

Nikolai Schuler

Publisher Resources

ISBN: 9781680505962Errata Page