📘 Day 1: Introduction to Database Management System (DBMS)
✅ What is a Database?
A Database is an organized collection of data that can be easily accessed, managed, and updated.
🧠 Example: Your college stores data of students — names, roll numbers, marks — in a structured format.
✅ What is a DBMS?
A Database Management System (DBMS) is software that interacts with users, applications, and the database itself to capture and analyze data.
💡 DBMS Examples:
-
MySQL
-
Oracle
-
PostgreSQL
-
MongoDB (NoSQL DB)
✅ Advantages of DBMS over File System
File System | DBMS |
---|---|
Data Redundancy | Reduced Redundancy |
No data sharing | Multi-user support |
No data security | High security |
Difficult backup | Easy backup & recovery |
Complex queries | Easy SQL-based queries |
✅ Types of DBMS
Type | Description | Example |
---|---|---|
Hierarchical | Parent-child | IBM IMS |
Network | Graph structure | IDS |
Relational | Tables (rows/columns) | MySQL, Oracle |
Object-oriented | Stores data as objects | Versant |
✅ Components of DBMS
-
Hardware: Physical devices (server, storage)
-
Software: The DBMS itself (MySQL, etc.)
-
Data: The actual stored data
-
Users:
-
DBA (Database Admin)
-
End Users
-
Application Programmers
-
-
Procedures: Rules for design & access
✅ Architecture of DBMS
📊 3-Tier Architecture:
-
External Level: User view
-
Conceptual Level: Logical structure
-
Internal Level: Physical storage
Draw this in exams – it gets full marks!
📝 Day 1 Quick Questions (Important for Exams)
-
What is a DBMS? Explain its advantages.
-
Differentiate between DBMS and File System.
-
Explain 3-tier architecture of DBMS with a diagram.
-
List and describe the types of DBMS.
-
Who are the users of DBMS?
💻 Mini Practice (Optional)
If you have MySQL installed, try this:
✅ Homework (15 mins)
-
Revise all notes above
-
Draw DBMS architecture diagram in your notebook
-
Write down 3 advantages of DBMS
-
Prepare answers for the 5 questions above
Comments
Post a Comment