MongoDB Cookbook 2nd Edition by Cyrus Dasadia, Amol Nayak – Ebook PDF Instant Download/Delivery: 1785289985, 9781785289989
Full download MongoDB Cookbook 2nd Edition after payment
Product details:
ISBN 10: 1785289985
ISBN 13: 9781785289989
Author: Cyrus Dasadia, Amol Nayak
MongoDB is a high-performance and feature-rich NoSQL database that forms the backbone of the systems that power many different organizations – it’s easy to see why it’s the most popular NoSQL database on the market. Packed with many features that have become essential for many different types of software professionals and incredibly easy to use, this cookbook contains many solutions to the everyday challenges of MongoDB, as well as guidance on effective techniques to extend your skills and capabilities.
This book starts with how to initialize the server in three different modes with various configurations. You will then be introduced to programming language drivers in both Java and Python. A new feature in MongoDB 3 is that you can connect to a single node using Python, set to make MongoDB even more popular with anyone working with Python. You will then learn a range of further topics including advanced query operations, monitoring and backup using MMS, as well as some very useful administration recipes including SCRAM-SHA-1 Authentication. Beyond that, you will also find recipes on cloud deployment, including guidance on how to work with Docker containers alongside MongoDB, integrating the database with Hadoop, and tips for improving developer productivity.
Created as both an accessible tutorial and an easy to use resource, on hand whenever you need to solve a problem, MongoDB Cookbook will help you handle everything from administration to automation with MongoDB more effectively than ever before.
MongoDB Cookbook 2nd Table of contents:
1. Installing and Starting the Server
Introduction
Installing single node MongoDB
Getting ready
How to do it…
How it works…
See also
Starting a single node instance using command-line options
Getting ready
How to do it…
How it works…
There’s more…
See also
Single node installation of MongoDB with options from the config file
Getting ready
How to do it…
How it works…
Connecting to a single node in the Mongo shell with JavaScript
Getting ready
How to do it…
How it works…
Connecting to a single node using a Java client
Getting ready
How to do it…
How it works…
Connecting to a single node using a Python client
Getting ready
How to do it…
How it works…
Starting multiple instances as part of a replica set
Getting ready
How to do it…
How it works…
There’s more…
See also
Connecting to the replica set in the shell to query and insert data
Getting ready
How to do it…
How it works…
See also
Connecting to the replica set to query and insert data from a Java client
Getting ready
How to do it…
How it works…
Connecting to the replica set to query and insert data using a Python client
Getting ready
How to do it…
How it works…
Starting a simple sharded environment of two shards
Getting ready
How to do it…
How it works…
There’s more…
Connecting to a shard in the shell and performing operations
Getting ready
How to do it…
How it works…
There’s more…
2. Command-line Operations and Indexes
Introduction
Creating test data
Getting ready
How to do it…
How it works…
See also
Performing simple querying, projections, and pagination from Mongo shell
Getting ready
How to do it…
How it works…
Updating and deleting data from the shell
Getting ready
How to do it…
How it works…
Creating index and viewing plans of queries
Getting ready
How to do it…
How it works…
Analyzing the plan
Improving the query execution time
Improvement using indexes
Improvement using covered indexes
Some caveats of index creations
Creating a background and foreground index in the shell
Getting ready
How to do it…
How it works…
Creating and understanding sparse indexes
Getting ready
How to do it…
How it works…
Expiring documents after a fixed interval using the TTL index
Getting ready
How to do it…
How it works…
See also
Expiring documents at a given time using the TTL index
Getting ready
How to do it…
How it works…
See also
3. Programming Language Drivers
Introduction
Executing query and insert operations with PyMongo
Getting ready
How to do it…
How it works…
See also
Executing update and delete operations using PyMongo
Getting ready
How to do it…
How it works…
Implementing aggregation in Mongo using PyMongo
Getting ready
How to do it…
How it works…
Executing MapReduce in Mongo using PyMongo
Getting ready
How to do it…
How it works…
See also
Executing query and insert operations using a Java client
Getting ready
How to do it…
How it works…
See also…
Executing update and delete operations using a Java client
Getting ready
How to do it…
How it works…
See also
Implementing aggregation in Mongo using a Java client
Getting ready
How to do it…
How it works…
Executing MapReduce in Mongo using a Java client
Getting ready
How to do it…
How it works…
See also
4. Administration
Introduction
Renaming a collection
Getting ready
How to do it…
How it works…
Viewing collection stats
Getting ready
How to do it…
How it works…
See also
Viewing database stats
Getting ready
How to do it…
How it works…
How it works…
Manually padding a document
Getting ready
How to do it…
How it works…
The mongostat and mongotop utilities
Getting ready
How to do it…
How it works…
See also
Getting current executing operations and killing them
Getting ready
How to do it…
How it works…
Using profiler to profile operations
Getting ready
How to do it…
How it works…
Setting up users in Mongo
Getting ready
How to do it…
How it works…
There’s more…
See also
Interprocess security in Mongo
Getting ready
How to do it…
There’s more…
Modifying collection behavior using the collMod command
Getting ready
How it works…
How it works…
Setting up MongoDB as a windows service
Getting ready
How to do it…
Replica set configurations
Getting ready
Elections in a replica set
Basic configuration for a replica set
How to do it…
How it works…
Replica set member as an arbiter
Priority of replica set members
Hidden, slave delayed, and build index configuration
There’s more…
Stepping down as primary from the replica set
Getting ready
How to do it…
How it works…
Exploring the local database of a replica set
Getting ready
How to do it…
How it works…
There’s more…
Understanding and analyzing oplogs
Getting ready
How to do it…
How it works…
Building tagged replica sets
Getting ready
How to do it…
How it works…
WriteConcern in tagged replica sets
ReadPreference in tagged replica sets
Configuring the default shard for non-sharded collections
Getting ready
How to do it…
How it works…
Manual split and migration of chunks
Getting ready
How to do it…
How it works…
Domain-driven sharding using tags
Getting ready
How to do it…
How it works…
Exploring the config database in a sharded setup
Getting ready
How to do it…
How it works…
5. Advanced Operations
Introduction
Atomic find and modify operations
Getting ready
How to do it…
How it works…
See also
Implementing atomic counters in Mongo
Getting ready
How to do it…
How it works…
See also
Implementing server-side scripts
Getting ready
How to do it…
How it works…
Creating and tailing a capped collection cursors in MongoDB
Getting ready
How to do it…
How it works…
There’s more…
Converting a normal collection to a capped collection
Getting ready
How to do it…
How it works…
There’s more…
Storing binary data in Mongo
Getting ready
How to do it…
How it works…
See also
Storing large data in Mongo using GridFS
Getting ready
How to do it…
How it works…
There’s more…
See also
Storing data to GridFS from Java client
Getting ready
How to do it…
How it works…
See also
Storing data to GridFS from Python client
Getting ready
How to do it…
How it works…
See also
Implementing triggers in Mongo using oplog
Getting ready
How to do it…
How it works…
Flat plane 2D geospatial queries in Mongo using geospatial indexes
Getting ready
How to do it…
How it works…
Spherical indexes and GeoJSON compliant data in Mongo
Getting ready
How to do it…
How it works…
Implementing full text search in Mongo
Getting ready
How to do it…
How it works…
There’s more…
See also
Integrating MongoDB for full text search with Elasticsearch
Getting ready
How to do it…
How it works…
There’s more…
See also
6. Monitoring and Backups
Introduction
Signing up for MMS and setting up an MMS monitoring agent
Getting ready
How to do it…
How it works…
There’s more…
Managing users and groups in MMS console
Getting ready
How to do it…
How it works…
Monitoring instances and setting up alerts on MMS
Getting ready
How to do it…
How it works…
There’s more…
See also
Setting up monitoring alerts in MMS
Getting ready
How to do it…
How it works…
See also
Back up and restore data in Mongo using out-of-the-box tools
Getting ready
How to do it…
How it works…
Configuring MMS Backup service
Getting ready
How to do it…
How it works…
Managing backups in MMS Backup service
Getting ready
How to do it…
How it works…
See also
7. Deploying MongoDB on the Cloud
Introduction
Setting up and managing the MongoLab account
How to do it…
How it works…
Setting up a sandbox MongoDB instance on MongoLab
Getting ready
How to do it…
How it works…
Performing operations on MongoDB from MongoLab GUI
Getting ready
How to do it…
How it works…
Setting up MongoDB on Amazon EC2 manually
Getting ready
How to do it…
How it works…
See also
Setting up MongoDB using the Docker containers
Getting ready
How to do it…
How it works…
See also
8. Integration with Hadoop
Introduction
Executing our first sample MapReduce job using the mongo-hadoop connector
Getting ready
How to do it…
How it works…
There’s more…
See also…
Writing our first Hadoop MapReduce job
Getting ready
How to do it…
How it works…
See also
Running MapReduce jobs on Hadoop using streaming
Getting ready…
How it works…
How to do it…
Running a MapReduce job on Amazon EMR
Getting ready
How to do it…
How it works…
See also
9. Open Source and Proprietary Tools
Introduction
Developing using spring-data-mongodb
Getting ready
How to do it…
How it works…
See also
Accessing MongoDB using JPA
Getting ready
How to do it…
How it works…
See also
Accessing MongoDB over REST
Getting ready
How to do it…
How it works…
See also
Installing a GUI-based client, MongoVUE, for MongoDB
Getting ready
How to do it…
How it works…
There’s more…
See also
A. Concepts for Reference
Write concern and its significance
Setting up a replica set
Read preference for querying
Knowing the internals
People also search for MongoDB Cookbook 2nd:
mongodb cookbook
mongodb join 2 collections
mongodb merge 2 collections
bn cookbooks
Tags:
Cyrus Dasadia,Amol Nayak,MongoDBCookbook