DEV Community

Cover image for Late-Night DBMS Chronicles #1: From DBMS to MySQL
Shreyash Ogale
Shreyash Ogale

Posted on

Late-Night DBMS Chronicles #1: From DBMS to MySQL

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)