Useful Links
Computer Science
Databases
MongoDB Database
1. Introduction to NoSQL and Document Databases
2. Getting Started with MongoDB
3. The MongoDB Data Model
4. CRUD Operations: Manipulating Data
5. Indexing for Performance
6. The Aggregation Framework
7. Transactions
8. Scalability and High Availability
9. Security in MongoDB
10. Administration and Ecosystem
Getting Started with MongoDB
Installation and Environment Setup
System Requirements
Hardware Requirements
Operating System Compatibility
Memory and Storage Considerations
Downloading MongoDB
Community vs Enterprise Versions
Version Selection Guidelines
Download Sources and Verification
Installing on Windows
Using MSI Installer
Setting Up as a Windows Service
Manual Installation Process
Environment Variables Configuration
Installing on macOS
Using Homebrew Package Manager
Manual Installation from Tarball
Setting Up Launch Agents
Path Configuration
Installing on Linux
Using Package Managers
Ubuntu/Debian (apt)
CentOS/RHEL (yum/dnf)
SUSE (zypper)
Manual Installation from Tarball
Creating System Users
Setting Up Systemd Services
Verifying Installation
Version Checking
Service Status Verification
Basic Connectivity Tests
Setting Up Data Directories
Default Data Directory Locations
Custom Data Directory Configuration
Permissions and Ownership
Log File Locations
Core MongoDB Tools
The MongoDB Server (mongod)
Starting and Stopping the Server
Configuration File Options
Command Line Parameters
Process Management
Log File Analysis
The MongoDB Shell (mongosh)
Installation and Setup
Connecting to Local Instances
Connecting to Remote Instances
Basic Shell Navigation
Command History and Autocomplete
Shell Configuration Options
MongoDB Compass (GUI)
Installation and Setup
Connecting to Database Instances
Visual Data Exploration
Query Builder Interface
Performance Monitoring
Schema Analysis Tools
Additional Command Line Tools
mongodump and mongorestore
mongoexport and mongoimport
mongostat and mongotop
Connecting to a MongoDB Instance
Connection Strings and URIs
Standard Connection String Format
Connection String Components
URI Encoding Requirements
Authentication Options
Username and Password Authentication
Certificate-Based Authentication
Kerberos Authentication
Connecting to Localhost
Default Connection Parameters
Local Instance Discovery
Connecting to Remote Servers
Network Configuration Requirements
Firewall and Security Considerations
SSL/TLS Connection Setup
Connection Options and Parameters
Connection Pooling Settings
Timeout Configuration
Read and Write Preferences
Compression Options
Basic Shell Commands
Navigating Databases and Collections
Listing Available Databases
Switching Between Databases
Listing Collections in a Database
Database and Collection Creation
Help and Information Commands
Getting Help in mongosh
Command-Specific Help
Viewing Server Information
Viewing Database Statistics
Collection Statistics and Metadata
Shell Scripting Basics
JavaScript in MongoDB Shell
Variable Assignment and Usage
Control Flow Statements
Function Definitions
Previous
1. Introduction to NoSQL and Document Databases
Go to top
Next
3. The MongoDB Data Model