Quiz · about 2 minutes · free
SQL or NoSQL?
Every player has a different bag of items, and you look it up by player ID billions of times.
Relational databases shine for joins, constraints and transactions. Key-value and document stores shine for massive scale with simple access patterns.
🌍 Real-life story
Real-life story: game inventories, session stores and shopping carts are often key-value or document stores (DynamoDB, MongoDB, Redis) because access is by key and the shape varies. Reporting and finance usually stay relational.Flexible per-player items, huge volume, lookups by player ID. Which fits best?
- A data warehouse such as Redshift
- Flat files on a shared drive
- PostgreSQL with one table and 500 nullable columns
- A key-value or document store such as DynamoDB