refers to databases that don’t follow the traditional relational model used by SQL databases. The term can be interpreted as “non-SQL” or “not only SQL.” NoSQL databases offer more flexibility and natural data storage compared to SQL databases. NoSQL is a broader database management approach, while SQL is specifically a query language.
NoSQL
database
Key-value database
Document database
Wide-column database
Graph database
is information that’s set up for easy access, management and updating.
database
HISTORY: Early databases used flat files, which were unstructured and inefficient. Hierarchical and network models were developed to improve organization and relationships between data. The relational database model, introduced by Edgar F. Codd, revolutionized database management by using tables with rows and columns. His ideas led to the development of SQL (Structured Query Language).
flat files -> Hierarchical -> network -> relational (Edgar F. Codd)
define what constitutes a true relational database management system. The rules cover various aspects of data storage, access, manipulation, and integrity.
While no commercial database fully implements all 12 rules, they
serve as an ideal standard for relational database systems.
Codd’s rules
Pioneered relational concepts and SQL.
IBM System R
Early commercial RDBMS inspired PostgreSQL
Ingres
First commercial RDBMS, gaining market dominance.
Oracle
Popularized relational databases for microcomputers
BASE II
Robust, flexible, and advanced features.
PostgreSQL
Fast, simple, and widely used for web applications.
MySQL
Fork of MySQL with additional features and optimizations
MariaDB
Microsoft’s RDBMS for enterprise environments.
MS SQL Server
IBM’s RDBMS for high availability and scalability.
DB2
The central component that stores, manages,
and processes data.
Server
Applications that interact with the database
by sending requests to the server.
Client
Clients send requests to the server,
and the server processes them and returns results.
Communication
Centralized management, improved security,
better resource allocation, and scalability
Benefits
SQL - Structured Query Language
MySQL
PostgreSQL
Microsoft SQL Server (T-SQL)
Oracle SQL (PL/SQL)
SQLite