Cargando…

MongoDB 4 Quick Start Guide : Learn the Skills You Need to Work with the World's Most Popular NoSQL Database /

MongoDB has grown to become the de facto NoSQL database with millions of users, from small start-ups to Fortune 500 companies. It can solve problems that are considered difficult, if not impossible, for aging RDBMS technologies. Written for version 4 of MongoDB, this book is the easiest way to get s...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Bierer, Doug
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introducing MongoDB; Overview of MongoDB; Handling big data; Modeling objects without SQL; Installing MongoDB; Installing MongoDB on Windows; Download and install; MongoDB Compass; MongoDB Windows file locations; Installing MongoDB on Linux; Installing on Debian or Ubuntu Linux; Package installation; Configure and run MongoDB on Ubuntu/Debian; Installing on Red Hat, Fedora, or CentOS Linux; Package installation; Configure and run MongoDB on RHEL/Fedora/CentOS.
  • Installing from sourceSummary; Chapter 2: Understanding MongoDB Data Structures; What is NoSQL?; Documents, collections, and database; Data-modeling considerations; References; Embedded documents; Document design; Creating a MongoDB database and collection; Summary; Chapter 3: Using the MongoDB Shell; Overview; Why use the mongo shell?; Options when invoking the shell; .mongorc.js File; Informational commands; Performing simple queries; Defining a query filter; Defining a projection; Modifying the cursor; Database and collection operations; Working with databases; Working with collections.
  • Creating, updating, or deleting documentsCreating one or more documents; Updating one or more documents; Deleting one or more documents; Creating and running shell scripts; Running a direct command; Running a shell script; Summary; Chapter 4: Developing with Program Language Drivers; Overview of the MongoDB PHP driver; MongoDB PHP architecture; MongoDB PHP extension classes; MongoDB\Driver classes; MongoDB\BSON classes; MongoDB\Driver\ {Exception, Monitoring} classes; Installing the MongoDB PHP extension; ext/mongodb installation using PECL; ext/mongodb installation on Windows.
  • Installing the PHP library for MongoDB (PHPLIB)Performing CRUD operations using PHPLIB; Core PHPLIB class instances needed for CRUD operations; Creating documents; Reading documents; Searching by ObjectId; Updating documents; Deleting documents; Other libraries and framework integration; Summary; Chapter 5: Building Complex Queries Using Aggregation; An overview of aggregation; What is aggregation?; Why use aggregation?; Using single-purpose aggregation; Using the aggregation pipeline; Aggregation pipeline stages; bucket; group; lookup; match; Aggregation pipeline expression operators.
  • Aggregation pipeline accumulatorsgroup stage accumulators; project and addFields stage accumulators; Aggregation pipeline expression operator examples; Using map-reduce; Using the MongoDB Compass aggregation pipeline builder; Summary; Chapter 6: Maintaining MongoDB Performance; Indexes; Single field indexes; Compound indexes; Multi-key indexes; Simple backup and restore; mongodump; mongorestore; Replication; Understanding MongoDB replication; Deploying a replica set; Resetting the IP address; Configuring the replica set member; Initializing the replica set; Adding and removing members.