|MongoDB The Definitive Guide, 3rd Ed|
Author: Shannon Bradshaw, Eoin Brazil and Kristina Chodorow
This popular book, regarded by many as the MongoDB bible, has been updated to reflect the changes to MongoDB 4.2. Is it as good as ever?
If you've not worked with MongoDB before, the approach it takes is very different to traditional transactional databases. It's document based, and the book begins with a section introducing MongoDB and its underlying principals, showing how to create, update and query documents within MongoDB. The new edition of the book has two new authors alongside the original, Kristina Chodorow, who worked on the MongoDB core for five years before joining Google. The new additions, Eoin Brazil and Shannon Bradshaw, work within MongoDB in the education side of the company. I suspect Chodorow hasn't had much to do with the new edition, but her enthusiastic approach is still apparent.
The topic for part three of the book is replication. The authors cover setting up replica sets, the components that make up a set, and how to connect to a replica set from an application, as well as replica administration. Replicas can be tricky to work with successfully, so the detail is important, and this section seems to have been updated successfully to reflect the way modern MongoDB has changed.
The same is true of part four on sharding. This is an area that has changed more than most, and the old edition was no longer a reliable guide to MongoDB sharding. The updated section seems to have overcome this drawback, and returned to being a really good guide to a complex subject, with chapters introducing sharding, configuring shards, choosing a shard key, and sharding administration.
The final two sections of the book cover administration of applications and servers. The chapters in the application administration section show you how to see what your application is doing, MongoDB authentication and authorization, and durability. The aim is to show you how to know information such as the queries MongoDB is running, how much data is being written, and what is MongoDB actually doing.
I began reading the new edition worried that the voice of the original author would have been watered down, but it still comes through strongly, and the updated material brings the coverage up to date to match the current version of MongoDB. I didn't try all the code by any means, but the subset I tried worked. This new edition seems a worthy successor to the previous editions.
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
For recommendations of database books see Reading Your Way Into Big Data
|Last Updated ( Tuesday, 07 April 2020 )|