Key Concepts & Self-Assessment18 Key Facts
Review key Relational Databases (SQL) vs NoSQL Databases: ACID, CAP Theorem & Scalability exam facts and rate your mastery to track revision.
Progress: 0/18 Rated 0 Mastered 0 Review Later
#1
Relational databases (SQL) organize data into structured two-dimensional tables with fixed schemas and relationships.
#2
NoSQL databases organize data using flexible, non-tabular data models like documents, key-values, wide-columns, or graphs.
#3
British computer scientist Edgar F. Codd invented the Relational Database model at IBM in his landmark 1970 paper.
#4
Donald Chamberlin and Raymond Boyce developed Structured Query Language (SQL) at IBM in the early 1970s.
#5
ACID compliance guarantees four transactional pillars: Atomicity, Consistency, Isolation, and Durability.
#6
Atomicity ensures that all database operations in a transaction succeed completely, or the entire transaction is rolled back.
#7
Consistency guarantees that a transaction transitions the database from one valid state to another, upholding all constraints.
#8
Isolation ensures that concurrently executing transactions cannot view intermediate, uncommitted states of other transactions.
#9
Durability guarantees that once a transaction commits, its data changes remain permanent even during power failures.
#10
Relational databases traditionally scale vertically (Scale-Up) by adding more CPU cores, RAM, and storage to a single server.
#11
NoSQL databases scale horizontally (Scale-Out) by distributing data across clusters of commodity server nodes via sharding.
#12
Eric Brewer formulated the CAP Theorem in 2000: a distributed system can simultaneously guarantee only 2 of Consistency, Availability, Partition Tolerance.
#13
Network partitions (P) are inevitable in distributed systems, forcing systems to choose between Consistency (CP) or Availability (AP).
#14
The BASE consistency model stands for Basically Available, Soft state, and Eventual consistency.
#15
MongoDB is a popular Document Store that saves semi-structured data in BSON (Binary JSON) format without rigid upfront schemas.
#16
Redis is an ultra-fast, in-memory Key-Value store widely deployed for application caching and real-time session management.
#17
Apache Cassandra is a distributed Wide-Column store designed for masterless high-throughput writes across distributed data centers.
#18
Modern enterprise software architectures widely employ Polyglot Persistence, combining both SQL and NoSQL systems for different application needs.
Subject Specialist Commentary
Analytical perspective & practical exam advice from the Master10 academic board
Databases organize digital information through two distinct architectures. Relational databases, formulated by Edgar Codd in 1970, structure data into tables with predefined schemas using SQL. They prioritize strict ACID compliance (Atomicity, Consistency, Isolation, Durability), making them ideal for financial ledgers where transactions must be completely reliable. Conversely, NoSQL databases accommodate flexible data formats like documents and key-values without rigid table structures, allowing developers to adapt data models rapidly without rewriting database schemas.
Examiners frequently test database scalability and Eric Brewer's CAP theorem. SQL databases scale vertically by adding CPU and memory to a single server, whereas NoSQL databases scale horizontally by sharding data across distributed server clusters. The CAP theorem shows distributed databases can guarantee only two of three properties: Consistency, Availability, and Partition tolerance. Remember the memory rule: 'SQL scales Up with ACID integrity, NoSQL scales Out with horizontal agility.' MongoDB exemplifies document stores, while Redis provides fast caching.
Related Knowledge Topics to Discover
Computer & Digital Awareness
Algorithms: Computational Logic, Complexity Analysis & Problem-Solving
Explore Topic
Computer & Digital Awareness
What Is a Compiler and How Does It Turn Code Into a Program?
Explore Topic
Computer & Digital Awareness
What Is Blockchain and How Does It Record Transactions?
Explore Topic
Looking for more GK practice?
Explore 52,789+ questions across 65 General Knowledge categories.