2dbi

SQL vs NoSQL trade-offs

viaGlassdoor

Prompt Compare a relational database (PostgreSQL) with NoSQL stores (Cassandra/MongoDB) and explain when you would choose each.

Be ready to discuss

  • Data model fit: relational/normalized vs document vs wide-column.
  • Indexing, and read vs write scaling (single-primary + replicas vs partitioned/leaderless).
  • Consistency models: ACID transactions vs BASE / tunable consistency.
  • Concrete selection criteria: query patterns, scale, consistency needs, and operational cost.
Add a follow-up question they asked
No follow-ups yet. Be the first to add one.
asked …
LeaderboardSalary
Language
Account