DEV Community

Cover image for Late Night Chronicles: #2 Diving into RDBMS
Shreyash Ogale
Shreyash Ogale

Posted on

Late Night Chronicles: #2 Diving into RDBMS

In the previous post, I talked about Data, Databases, DBMS, and their limitations.

But today, let’s talk about the solution to those problems πŸ‘‡


🧠 What is RDBMS?

RDBMS (Relational Database Management System) is a type of DBMS where data is stored in a structured format using tables (rows and columns).

πŸ‘‰ Unlike traditional file systems, RDBMS follows Row Level Locking System.

πŸ“Œ Definition (ANSI)

A software system that manages data organized into tables with rows and columns, allowing for ACID-compliant transaction


🧰 Examples of RDBMS Software

Some commonly used RDBMS tools are:

  • Oracle
  • MySQL
  • MS SQL Server
  • PostgreSQL
  • DB2
  • Sybase
  • Informix (Fastest in terms of Processing Speed)

πŸ“‚ Basic Concepts in RDBMS

  • Column (Attribute / Key / Method) β†’ Represents a property (e.g., Name, ID)
  • Row (Tuple / Entity / Opportunity) β†’ A single record (e.g., one student’s data)
  • Table (Relation / Entity Class / Applet ) β†’ Collection of rows and columns

πŸ‘‰ In simple words:

Table = Structure

Row = Data

Column = Properties


⚑ Why RDBMS is Better than Traditional Systems


βœ… Advantages of RDBMS

1. Standard Naming Conventions πŸ“›

Maintains proper structure and naming consistency.


2. Relationships are Built-In πŸ”—

Relationships between tables can be defined using constraints (like Foreign Keys).


3. Less Programming Required πŸ’»

Most operations are handled using SQL, reducing coding effort.


4. Faster Development ⏳

Because many features are built-in, development becomes quicker.


5. Low Network Traffic 🌐

Optimized queries reduce unnecessary data transfer.


6. Faster and Cost-Effective βš‘πŸ’Έ

Better performance and reduced infrastructure cost.


7. Server-Side Processing πŸ–₯️

Processing happens on the server, improving efficiency.


8. Supports Client-Server Architecture πŸ”„

Modern applications follow this architecture for scalability.


9. Row-Level Locking πŸ”’

Only the required row is locked, not the entire file.

πŸ‘‰ This improves concurrency


10. Multi-User Support πŸ‘₯

Multiple users can access and work on data simultaneously.


11. Supports Distributed Databases 🌍

Data can be stored across multiple systems (e.g., banking systems).


12. Strong Security πŸ”

RDBMS provides multiple levels of security:

  • Login Level Security

(Username & Password authentication)

  • Command Level Security

(Permission to execute SQL commands like CREATE, INSERT, etc.)

  • Object Level Security

(Access control for tables, views, etc.)


🧠 What I Understood So Far

  • RDBMS stores data in tables instead of files
  • Relationships are handled automatically
  • Better performance, security, and scalability
  • Supports real-world applications with multiple users

πŸ‘‰ This is why modern systems use RDBMS instead of traditional file systems πŸš€


πŸ€” Their are so many RDBMS but why Im going to Discuss MySQL?

Here’s why:

βœ… Beginner-Friendly

MySQL is easy to learn and has simple syntax, making it perfect if you’re just starting out.


βœ… Open Source & Free

Unlike some tools (like Oracle), MySQL is open-source, so anyone can use it without cost.


βœ… Widely Used

MySQL is used in many real-world applications, especially in web development.

πŸ‘‰ Example: Many websites use MySQL as their backend database. for example youtube , facebook, etc


βœ… Strong Community Support

Since it’s popular, you’ll find tons of tutorials, forums, and solutions online.


βœ… Perfect for Learning SQL

Once you learn MySQL, you can easily switch to other databases like PostgreSQL or SQL Server.


In the next post, we’ll explore how to actually start working with MySQL and write our first SQL queries πŸ‘¨β€πŸ’»

Top comments (0)