Deadlock
Definition: A deadlock is a situation in which two or more processes are waiting for resources that are held by each other, and none of them can proceed.In short, it…
My Blog
Definition: A deadlock is a situation in which two or more processes are waiting for resources that are held by each other, and none of them can proceed.In short, it…
1. Priority-Based Non-Preemptive Scheduling Definition: In Priority Non-Preemptive Scheduling, each process is assigned a priority.The CPU is allocated to the process with the highest priority (smallest number = highest priority).Once…
Definition:Round Robin is a preemptive CPU scheduling algorithm where each process is assigned a fixed time slice or quantum. The CPU executes each process for this fixed amount of time…
Perspective OS Type Description Example User Point of View Single-User One user at a time Windows 11 Multi-User Many users simultaneously UNIX CLI Command-based interface MS-DOS GUI Icon/menu-based interface macOS…
Database Administration in MongoDB means managing, maintaining, and optimizing MongoDB databases to ensure they are secure, fast, reliable, and always available.A MongoDB Database Administrator (DBA) performs tasks like installation, configuration,…
1. Backup MongoDB Database ✅ Option 1: Backup Entire Database Use the mongodump command. Syntax: Example: This will create: Containing .bson (data) and .metadata.json (indexes). ✅ Option 2: Backup All…
The term session_set_save_handler is not related to MongoDB — it actually belongs to PHP, not MongoDB. Let’s clarify this clearly What is session_set_save_handler? In PHP, session_set_save_handler() is a function used…
A replica set in MongoDB is a group of mongod instances that maintain the same data set, providing redundancy and high availability. Step-by-Step Setup for MongoDB 8.2 Replica Set We’ll…
GridFS stands for Grid File System. MongoDB GridFS is a specification for storing and retrieving large files (such as images, videos, audio files, or any binary data) in MongoDB that…