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
Instances in DBMS – Simple Hinglish Mein
Instance DBMS mein kya hota hai?
Simple shabdon mein:
Instance matlab wo actual data jo database mein ek particular time pe stored hota hai.
Schema = Database ka design ya structure
Instance = Database ka actual data ya content
Schema zyada change nahi hota,
Instance bar-bar change hota rehta hai jaise jaise data add, delete ya update hota hai.
Example se samjho:
Maan lo hum ek Library Database banate hain.
Schema:
Table: Books
Columns: Book_ID, Title, Author
Ab is time par database mein ye data hai:
Book_ID | Title | Author |
---|---|---|
1 | Harry Potter | J.K. Rowling |
2 | The Hobbit | J.R.R. Tolkien |
3 | Wings of Fire | A.P.J. Abdul Kalam |
Ye jo data stored hai, usko hum Instance kehte hain.
Kal agar hum ek aur new book add karenge,
to Instance change ho jayega (data badal gaya)
but Schema same rahega (structure nahi badla).
Simple Diagram:

Upar ka part = Schema (structure)
Neeche ka part = Instance (actual data)
Schema vs Instance (Short Comparison)
Feature | Schema | Instance |
---|---|---|
Kya hai? | Design/Structure | Real Data |
Change hota hai? | Rarely (kam) | Frequently (bar bar) |
Example | Table ka design (Books table) | Table ke andar ka data (books ka naam, author) |
Real-Life Analogy (Aasan Example)
Socho ek khali notebook hai:
Notebook ke pages aur lines = Schema (structure)
Tum jo likhte ho notebook mein = Instance (content)
Jab tum naye notes likhte ho ya kuch mitaate ho,
notebook ka design nahi badalta (schema same),
lekin uske andar ka content (instance) change hota hai.
Practical Example
Maan lo ek Students table hai:
Student_ID | Name | Course |
---|---|---|
101 | Aditi | B.Tech |
102 | Rahul | BCA |
Schema = Table Students with columns Student_ID, Name, Course
Instance = Aditi aur Rahul ka data jo table mein hai.
Agar kal ek nayi student “Priya” aati hai:
Schema same rahega (table structure same)
Instance change hoga (kyunki naye data add hua).
Important Points yaad rakhne ke liye:
Schema = Database ka permanent design ya naksha.
Instance = Database ka current data jo waqt ke saath change hota hai.
Database start hone par = Instance empty ho sakta hai.
Jab users interact karte hain (insert/update/delete), tab instance change hota hai.
Overall Summary Table
Topic | Schema | Instance |
---|---|---|
Matlab | Design/Structure of Database | Current Data in Database |
Changes | Bahut kam | Bohot baar |
Example | Table Design (Columns) | Table ke andar stored Rows |
Kab create hota hai? | Jab database design karte hain | Jab database chalta hai (insert/update data hota hai) |