DBMS
DBMS Part-1
- DBMS Introduction
- DBMS Architecture
- Database Approach vs Traditional File System
- Advantages of DBMS
- Data Models in DBMS
- Schemas in DBMS
- Instances in DBMS
- Data Independence in DBMS
- Database Languages in DBMS
- Interfaces in DBMS
- Structure of DBMS
- Functions of DBA and Designer
- Entities and Attributes in DBMS
- ER Diagram in DBMS
- Generalization, Specialization and Aggregation in DBMS
- Converting ER Diagram to Tables in DBMS
- Difference between Object Oriented, Network and Relational Data Models
DBMS Part-2
- Relational Data Model in DBMS
- Keys in DBMS
- SQL Introduction
- DDL(Data Definition Language)
- DML(Data Manipulation Language)
- Integrity Constraints in DBMS
- Complex SQL Queries
- Joins in DBMS
- Indexing in DBMS
- Triggers in DBMS
- Assertions in DBMS
- Relational Algebra in DBMS
- Tuple Relational Calculus in DBMS
- Domain Relational Calculus in DBMS
DBMS Part-3
- Introduction to Normalization in DBMS
- Normal Forms in DBMS
- Functional Dependency in DBMS
- Decomposition in DBMS
- Dependency Preserving Decomposition in DBMS
- Lossless Join Decomposition in DBMS
- Problems with Null Values and Dangling Tuples
- Multivalued Dependency in DBMS
- Query Optimization in DBMS
- Algorithms for Select, Project and Join Operations in DBMS
- Query Optimization Methods in DBMS
DBMS Part-4
- Transactions in DBMS
- Serializability in DBMS
- Recoverability in DBMS
- Recovery Techniques in DBMS
- Log Based Recovery in DBMS
- Checkpoint in DBMS
- Deadlock in DBMS
- Concurrency Control in DBMS
- Lock Based Protocol in DBMS
- Timestamp Based Protocol in DBMS
- Validation Based Protocol in DBMS
- Multiple Granularity in DBMS
- Multi-Version Concurrency Control(MVCC) in DBMS
- Recovery with Concurrent Transactions in DBMS
DBMS Part-5
DBMS Architecture
DBMS Architecture Kya Hota Hai?
DBMS Architecture ka matlab hota hai kaise database system design kiya gaya hai — matlab kaunse part kis se connected hai aur kis tarah kaam karta hai.
Sochiye DBMS ek building jaise hai — jisme har floor (layer) ka apna kaam hai.
Types of DBMS Architecture
DBMS mainly 3 tarah ka architecture use karta hai:
1-Tier Architecture
2-Tier Architecture
3-Tier Architecture
Chaliye ek-ek karke simple example aur diagram ke saath samjhte hain
1-Tier Architecture
Kya hota hai?
Isme user directly database ke saath interact karta hai. Sab kuch ek hi machine pe hota hai.
Real-Life Example:
Aapne MS Access ya Excel pe student project banaya ho — jisme data bhi wahi hai aur software bhi wahi hai.
Key Point:
-> No internet/network needed.
-> Chhoti applications ke liye useful.
Diagram:
User
|
v
Database
2-Tier Architecture
Kya hota hai?
Isme system do parts mein divided hota hai:
Client (User Interface)
Server (Database + DBMS)
User ek application ke through database se directly baat karta hai.
Real-Life Example:
College library software — librarian ke computer mein ek application hoti hai, aur woh central database se data fetch karta hai.
Key Point:
-> Secure than 1-tier
-> LAN ya chhoti organizations ke liye best
Diagram:
Client (Application)
|
Network
|
v
Server (DBMS + Data)
3-Tier Architecture
Kya hota hai?
Yeh sabse advanced aur commonly used architecture hai. Isme system 3 layers mein divided hota hai:
Presentation Layer – User ka interface (web page, app)
Application Layer – Business logic (kaam karne wali layer)
Database Layer – Data ko store aur manage karti hai
Real-Life Example:
College ka student portal jahan:
Student browser se login karta hai
Server request ko process karta hai
Data database se fetch hota hai
Key Point:
-> Best security
-> Zyada users ko support karta hai
-> Mostly web applications mein use hota hai
Diagram:
Client (Browser)
|
v
Application Server (Business Logic)
|
v
Database Server (DBMS + Data)
Comparison Table
Feature | 1-Tier | 2-Tier | 3-Tier |
---|---|---|---|
User Interface | Same machine | Client machine | Client browser |
Logic Processing | Same machine | Client | Application server |
Data Storage | Same machine | Server | Database server |
Security | Low | Medium | High |
Use Cases | Chhoti apps | LAN-based apps | Websites & large systems |
Short Summary
-> 1-Tier: Sab kuch ek hi jagah pe (software + data)
-> 2-Tier: Client app → directly server se data leta hai
-> 3-Tier: User → App Server → Database (sab alag-alag layers)