Learn how to deploy and monitor databases in the cloud, manipulate documents, visualize data, and build applications running on MongoDB using Node.js
▶What You Will Learn
-Set up and use MongoDB Atlas on the cloud
-Insert, update, delete, and retrieve data from MongoDB
-Build aggregation pipelines to perform complex queries
-Optimize queries using indexes
-Monitor databases and manage user authorization
-Improve scalability and performance with sharding clusters
-Replicate clusters, back up your database, and restore data
-Create data-driven charts and reports from real-time data
▶Key Features
-Learn the fundamentals of NoSQL databases with MongoDB
-Create, manage, and optimize a MongoDB database in the cloud using Atlas
-Use a real-world dataset to gain practical experience of handling big data
▶Who This Book Is For
This book is designed for people who are new to MongoDB. It is suitable for developers, database administrators, system administrators, and cloud architects who are looking to use MongoDB for smooth data processing in the cloud. Although not necessary, basic knowledge of a general programming language and experience with other databases will help you grasp the topics covered more easily.
▶What this book covers
- Chapter 1, Introduction to MongoDB, contains the history and context of MongoDB, essential concepts, and a guide to setting up your first MongoDB instance.
- Chapter 2, Documents and Data Types, will teach you about the critical components in MongoDB data and commands.
- Chapter 3, Servers and Clients, provides you with the information needed to manage MongoDB access and connections, including the creation of databases and collections.
- Chapter 4, Querying Documents, is where we get to the core of MongoDB: querying the database. This chapter provides hands-on exercises to get you working with the query syntax, operators, and modifiers.
- Chapter 5, Inserting, Updating, and Deleting Documents, expands on querying, allowing you to change a query into an update, modifying existing data.
- Chapter 6, Updating with Aggregation Pipelines and Arrays, covers more complex update operations, using pipelines and bulk updates.
- Chapter 7, Data Aggregation, demonstrates one of MongoDB's most powerful advanced features, allowing you to create reusable, complex query pipelines that can't be solved with more straightforward queries.
- Chapter 8, Coding JavaScript in MongoDB, takes you from direct database interactions to a method more commonly found in the real world: queries from an application. In this chapter, you will create a simple Node.js application that can programmatically interact with MongoDB.
- Chapter 9, Performance, provides you with the information and tools to ensure your queries are running effectively, primarily by using indexes and execution plans.
- Chapter 10, Replication, takes a closer look at the standard MongoDB configurations you may encounter in production environments, namely clusters and replica sets.
- Chapter 11, Backup and Restore, covers the information needed as part of managing database redundancy and migration. This is integral for database administration but is also useful for loading sample data and development life cycles.
- Chapter 12, Data Visualization, explains how you can turn raw data into meaningful visualizations that aid in discovering and communicating insights within the data.
- Chapter 13, MongoDB Case Study, is an end-of-course case study that will tie together all the skills covered in the previous chapters in a real-world example.