System Design Problem

Design a Relational Database (PostgreSQL)

Commonly Asked By:GoogleAmazonMicrosoftMeta

  • Relational Model: Store data in tables with rows and typed columns.
  • SQL Support: Support standard SQL queries (SELECT, INSERT, UPDATE, DELETE, JOINs, aggregations).
  • ACID Transactions: Atomicity, Consistency, Isolation, and Durability must be guaranteed.
  • Indexing: Support B-Tree indexes to speed up point queries and range scans.
  • Concurrency Control: Allow multiple clients to read and write simultaneously without locking the entire database (MVCC).

A relational database consists of a query processing layer on top of a transactional storage engine.

Loading...