MongoDB Data Modeling

Focus on data usage and better design schemas with the help of MongoDB
Preview in Mapt

MongoDB Data Modeling

Wilson da Rocha França

1 customer reviews
Focus on data usage and better design schemas with the help of MongoDB
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.00
RRP $19.99
Save 29%
Print + eBook
$24.99
RRP $24.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.00
$24.99
$29.99 p/m after trial
RRP $19.99
RRP $24.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


MongoDB Data Modeling Book Cover
MongoDB Data Modeling
$ 19.99
$ 14.00
MongoDB Cookbook - Second Edition Book Cover
MongoDB Cookbook - Second Edition
$ 35.99
$ 7.20
Buy 2 for $21.20
Save $34.78
Add to Cart

Book Details

ISBN 139781782175346
Paperback202 pages

Book Description

This book covers the basic concepts in data modeling and also provides you with the tools to design better schemas. With a focus on data usage, this book will cover how queries and indexes can influence the way we design schemas, with thorough examples and detailed code.

The book begins with a brief discussion of data models, drawing a parallel between relational databases, NoSQL, and consequently MongoDB. Next, the book explains the most basic MongoDB concepts, such as read and write operations, indexing, and how to design schemas by knowing how applications will use the data. Finally, we will talk about best practices that will help you optimize and manage your database, presenting you with a real-life example of data modeling on a real-time logging analytics application.

Table of Contents

Chapter 1: Introducing Data Modeling
The relationship between MongoDB and NoSQL
Introducing NoSQL (Not Only SQL)
Database design and data modeling
Summary
Chapter 2: Data Modeling with MongoDB
Introducing documents and collections
Characteristics of documents
Designing a document
Common document patterns
Summary
Chapter 3: Querying Documents
Understanding the read operations
Introducing the write operations
Summary
Chapter 4: Indexing
Indexing documents
Creating special indexes
Summary
Chapter 5: Optimizing Queries
Understanding the query plan
Summary
Chapter 6: Managing the Data
Operational segregation
Capped collections
Data self-expiration
Summary
Chapter 7: Scaling
Scaling out MongoDB with sharding
Scaling a social inbox schema design
Summary
Chapter 8: Logging and Real-time Analytics with MongoDB
Log data analysis
What we are looking for
Designing the schema
Summary

What You Will Learn

  • Optimize your models based on priorities
  • Discover the schemaless document-oriented database design
  • Improve the process of querying a document with the help of indexing
  • Set up a sharded environment with replication
  • Configure the read preference in accordance with your application's requirements
  • Create effective indexes that will fit your application needs
  • Understand how to analyze the performance of your queries to avoid performance issues

Authors

Table of Contents

Chapter 1: Introducing Data Modeling
The relationship between MongoDB and NoSQL
Introducing NoSQL (Not Only SQL)
Database design and data modeling
Summary
Chapter 2: Data Modeling with MongoDB
Introducing documents and collections
Characteristics of documents
Designing a document
Common document patterns
Summary
Chapter 3: Querying Documents
Understanding the read operations
Introducing the write operations
Summary
Chapter 4: Indexing
Indexing documents
Creating special indexes
Summary
Chapter 5: Optimizing Queries
Understanding the query plan
Summary
Chapter 6: Managing the Data
Operational segregation
Capped collections
Data self-expiration
Summary
Chapter 7: Scaling
Scaling out MongoDB with sharding
Scaling a social inbox schema design
Summary
Chapter 8: Logging and Real-time Analytics with MongoDB
Log data analysis
What we are looking for
Designing the schema
Summary

Book Details

ISBN 139781782175346
Paperback202 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

MongoDB Cookbook - Second Edition Book Cover
MongoDB Cookbook - Second Edition
$ 35.99
$ 7.20
Web Development with MongoDB and NodeJS - Second Edition Book Cover
Web Development with MongoDB and NodeJS - Second Edition
$ 31.99
$ 22.40
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
MongoDB High Availability Book Cover
MongoDB High Availability
$ 19.99
$ 14.00
Learning Angular 2 Book Cover
Learning Angular 2
$ 31.99
$ 22.40
Spring Microservices Book Cover
Spring Microservices
$ 39.99
$ 28.00