When I first started learning databases, I kept hearing terms like DBMS, RDBMS, and MySQL everywhere.
And honestlyβ¦ I thought they were all the same thing π
But the more I explored, the more I realized β they are actually different layers of the same system.
So in this post, Iβm going to break it down in the simplest way possible, just like I wish someone had explained it to me when I started.
But before we start Ignore the Spelling mistake by ai in title image π
Letβs start from the very basics π
π» Where It All Starts: Data & Processing
The word computer comes from the French word βcomputaireβ, which means to calculate.
But what exactly do we calculate? π€
-
Raw Data β Random numbers or values (e.g.,
122334354) that have no meaning - Processed Data (Information) β Meaningful data (e.g., phone number, PAN card number)
π When raw data is processed, it becomes useful information.
π What is Processing?
Processing is the work done by a computer to convert data into meaningful information.
π What is a Database?
A database is simply a collection of a large amount of data.
π§ What is DBMS?
DBMS (Database Management System) is a ready-made software that helps you manage your data efficiently.
π Definition (ANSI)
A DBMS is a collection of programs that allows users to:
- Insert data
- Update data
- Delete data
- Process data
π§° Examples of DBMS Software
Some commonly used DBMS tools are:
- MS Excel
- dBase
- FoxPro
- Clipper
- DataEase
- Dataflex
- DB Vista
- Quattro Pro
π Basic Concepts
- Field β A single piece of data (e.g., Name)
- Record β A collection of fields (e.g., one studentβs data)
- File β A collection of records
π€ Why File-Based Systems Had Problems?
Before modern databases like MySQL, data was managed using simple file systems (like MS Excel, FoxPro, etc.).
At first, it workedβ¦ but as data grew, many problems started appearing π΅
Letβs understand them in a simple way π
β οΈ Problems in File-Based Systems
1. Naming Confusion π
No standard naming system β leads to inconsistency.
2. No Automatic Relationships π
Relationships between files had to be managed manually using code.
3. More Coding Required π»
Even simple tasks required a lot of programming.
4. Time-Consuming Development β³
Development became slower due to manual handling.
5. High Network Traffic π
Data was not optimized β more network usage.
6. Slow and Expensive π’πΈ
Systems were inefficient and costly.
7. Client-Side Processing π₯οΈ
Most processing was done on the client machine.
8. No Client-Server Architecture β
Modern architecture was not supported.
9. File-Level Locking π
Only one user could access a file at a time.
10. Not Suitable for Multiple Users π₯
Proper concurrency was not supported.
11. No Distributed Database Support π
Data couldnβt be stored across multiple systems.
12. Weak Security π
- Security depended on the operating system
- No built-in security in DBMS
- Anyone with OS access could access data
π§ What I learned
- Raw data β Processed into meaningful information
- Database β Collection of data
- DBMS β Software to manage data
- File systems β Had many limitations
π Thatβs why modern DBMS systems were introduced π
π In the next post, weβll explore how these problems are solved using RDBMS π
Top comments (0)