Getting started with MongoDB

MongoDB is a document-oriented NoSQL database. As we will see, the whole system revolves around this document management, including the query language, which makes it its strong point. We are going to tackle now the setting up of a Mongo server and how to integrate your data in this environment.

Table of contents

  • Getting started with MongoDB
  • Running a JavaScript file in MongoDB
  • Make the output of find readable in shell
  • Basic commands on the mongo shell
  • Create a 2dsphere index
  • Aggregation
  • Operations with tables.
  • Delete documents that have a duplicate field in a collection
  • MongoDB aggregation
  • Examples of aggregated queries that are useful for work and learning
  • Java and Spring example
  • Get sample data
  • Left outer join with aggregation (search $)
  • Configuration
  • Start mongo with a specific configuration file
  • MongoDB Management
  • List of running queries
  • The basics of index creation
  • Deleting / deleting an index
  • Get clues from a collection
  • Sparse indexes and partial indexes
  • Authentication mechanisms in MongoDB
  • Authentication mechanisms
  • Update operators
  • $ Set operator to update the specified fields in documents
  • Chapter 11: Upgrading the MongoDB Version
  • Upgrade to 3.4 on Ubuntu 16.04 using apt
  • MongoDB authorization template
  • How to configure a ReplicaSet to support TLS / SSL?
  • Create the root certificate
  • Generate certificate requests and private keys
  • Sign your certificate requests
  • Concatte each node certificate with its key
  • Get information about the database
  • "Multi" setting when updating multiple documents
  • Update of embedded documents.
  • Bulk operations
  • Retrieve data from the collection with the condition
  • Python Driver
  • Request Document - Using AND, OR, and IN Conditions
  • Find () method with Projection
  • mongoimport with CSV
  • Backup and restore data
  • Upserts and inserts
Size1229.071 Kb
File typepdf
Downloads327
Created2019-04-27
Cover of Getting started with MongoDB
Preview PDF

Download

  • Application Security in .NET Succinctly

    Download free course Application Security in .NET Succinctly, pdf file on 103 pages by by Stan Drapkin....

  • Think DSP: Digital Signal Processing in Python

    This book is an introduction to signal processing and system analysis using a computational approach, using Python as the programming language. The premise of this book (like the others in the Think X series) is that if you know how to program, you can use that skill to learn other things. By the ...

  • Introduction to Struts

    This tutorial is an example using struts tiles ,free training document courses under 14 pages bu sasha wolski....

  • Problem Solving with Algorithms and Data Structures

    Download free tutorial in Algorithms and data structures created by Brad Miller and David ranum....

  • Haskell: Functional Programming with Types

    In this book, we aim to introduce you both to the Haskell language, from the very basics to its most advanced features, and to computer programming in general. Seasoned programmers, we urge you to be especially patient with this process. In all likelihood, the languages you are most familiar with ...

  • Think C++

    Download free course Think C++, pdf file on 191 pages by Allen Downey....

  • Vue.js Succinctly

    Download free course Vue.js Succinctly, pdf file on 101 pages by Ed Freitas....

  • Getting started with Sharepoint

    Download free Sharepoint tutorial course in PDF, training file in 10 chapters and 75 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Introduction to Microsoft Word 2010

    Download free training document in PDF intituled Introduction to Microsoft Word 2010, course on 159 pages for beginners....

  • Graph Theory - Advanced Algorithms and Applications

    This book is prepared as a combination of the manuscripts submitted by respected mathematicians and scientists around the world. As an editor, The author truly enjoyed reading each manuscript. Not only will the methods and explanations help you to understand more about graph theory, but The author a...