Course Outline
Introduction to MongoDB
Introduction to databases NoSQL
Reasons for the creation of non-relational databases
Features MongoDB
Advantages and disadvantages MongoDB
Technologies and solutions related to MongoDB
Using Mongo Shell and Robo 3T
Basic queries and data structure
Types of data stored
Insert
Save
Remove
Update
Find/FindOne
The role and properties of the query result cursor
Sort, skip, limit
Query selectors
Creating logical conditions
Advanced queries
Data projection mechanism
$regex
Operations on arrays and sets
FindAndModify and the $inc operator
Position operator and ArrayFilter
Storage Engines
An overview of the internal file storage engines available with MongoDb
Features, advantages and disadvantages of the MMAPv1 engine
Features, advantages and disadvantages of the WiredTiger engine
WiredTiger recording mechanism (snapshot, checkpoint)
Comparison of RAM consumption by individual engines
Document validation
Creating and modifying simple validators
Validation levels
Validation actions
Validation using JsonSchema
Data modeling
Good model design practices in MongoDB
Advantages and disadvantages of nested models
Types and method of implementing "relationships"
Common mistakes
MapReduce
What is MapReduce?
MapReduce query structure
Mapping function
Reducing function
Finalizing function
Additional options
Aggregation Framework
Aggregation Pipeline
Aggregation query structure
Aggregation operators
Selected grouping accumulators
Exploding arrays with $unwind
Multi-ops using $facet
Combining data from different collections using $lookup
Limitations of the aggregation mechanism
GridFS
Storing binary data in MongoDB
Metadata and chunks
Using mongofiles
Reasons for using GridFS
Indexes in MongoDB
Defining indexes
Simple and complex indexes
Using indexes on nested documents
Multikey (array) indexes
Partial indexes
FullText Search
What is Full Text Search?
Creating Full Text Indexes Search
Support for word formation analysis
Field weight and sorting after matching
Operator $**
Limitations
Change streams
The publish-subscribe pattern
Subscription to changes in MongoDB
Format of the returned document
Replication
The role of replication in expanding capabilities MongoDB
Element members of Replica Set
Failover mechanism and primary node election control
The role of the arbitrator
Construction and principle of operation of the oplog
Administrative commands in the replication set
Replica Set configuration
Hidden and delayed node
Node states
Desynchronization problems
Sharding
The role of sharding in expanding capabilities MongoDB
Config server
Query router
Selecting a sharding key
Data partitioning
Administrative commands in the cluster
Cluster configuration
Administrative and diagnostic tools
Backup strategies (mongodump, mongorestore)
Mongo performance diagnostics (mongostat, mongotop, listing of active operations)
Monitoring the replication process
(optional) Client libraries
JavaDriver
Driver configuration
Driver API, BSON support
MongoDB + SpringData
CSharpDriver
Driver configuration
Driver API, BSON support
Asnchronous operations
Requirements
- Experience working with MongoDB
- Programming experience is helpful but not required.
-
Audience
- Database administrators
- Systems administrators
- Operations and devops professionals
Testimonials (1)
Large expertise of the trainer, good contact with people :)
Aleksander Braula - INTEL TECHNOLOGY POLAND SP. Z O. O.
Course - MongoDB zaawansowana administracja
Machine Translated