Introduction

One of the questions that come up very often from new users of MongoDB and document databases is how to do schema design. The concepts of embedding and linking documents combined with many years of working with relational models means there is a learning process involved in moving to a document database.

As the product has matured over time some patterns of schema design have emerged. This book is an attempt to distill that knowledge into actionable information you can use for your own applications.

We will cover basics of MongoDB schema design, how MongoDB works under the covers and look at a series of schema design patterns that aim to solve specific issues that you might run into while working on your application.

That said this is not the end all of schema design for MongoDB. If you come up with other brilliant schema design patterns feel free to drop me an email at christkv@gmail.com or send me a tweet to @christkv

I hope you enjoy the book and find the information useful.

Christian Amor Kvalheim