Mongodb Syllabus
Msc_IT&CA_-1-2-2022 (1)-12-15Download
My Blog
Msc_IT&CA_-1-2-2022 (1)-12-15Download
CREATE OR REPLACE TRIGGER trg_emp_insertAFTER INSERT ON empFOR EACH ROWBEGIN— Insert into audit tableINSERT INTO emp (emp_id, emp_name,salary)VALUES (:NEW.emp_name,:NEW.salary,:NEW.emp_id); — Display messageDBMS_OUTPUT.PUT_LINE(‘Employee inserted successfully.’); END; insert into emp(emp_name,salary,emp_id)values(‘rohan’,3000,3);select * from…
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…
PHP native session handling with session_set_save_handler() allows you to store session data in MongoDB instead of the default PHP session files. The normal PHP functions remain the same: Important: The…
1️⃣ Check Your PHP Environment Open a command prompt and run: Note the PHP version, architecture (x64 or x86), and whether it’s Thread Safe (TS) or Non-Thread Safe (NTS). 2️⃣…
What is big data? Big data is a combination of structured, semi-structured and unstructured data that organizations collect, analyze and mine for information and insights. Big data refers to extremely…
The difference between SQL and NoSQL databases primarily lies in how they store, structure, and manage data. Here’s a clear comparison: Feature SQL (Relational Databases) NoSQL (Non-Relational Databases) Full Form…