Topics / 🏛️ Architecture & Design Patterns / 🏗️ Level 13: Data Foundations: Where Data Lives

Quiz · about 2 minutes · free

OLTP or OLAP?

Players buy skins all day. Analysts want monthly revenue by country. Same data, very different jobs.

OLTP systems (MySQL, PostgreSQL) handle many small, fast reads and writes. OLAP systems (BigQuery, Redshift, Snowflake) scan huge amounts of data for analytics.

OLTP (MySQL, Postgres): many small reads and writes, one row at a time, checkout, payments. OLAP (BigQuery, Redshift): few huge scans, millions of rows per query, revenue reports, dashboardsOLTP (MySQL, Postgres)many small reads and writesone row at a timecheckout, paymentsOLAP (BigQuery, Redshift)few huge scansmillions of rows per queryrevenue reports, dashboards
🌍 Real-life storyReal-life story: companies that run heavy reports on the production database slow down checkout for real customers. Separating the two is one of the first architecture decisions a data team makes.
Purchases need fast single-row writes; analysts run large monthly reports. Which setup fits?
  1. One OLTP database for both, running reports during the day
  2. OLAP warehouse for the purchases themselves
  3. A read replica of the OLTP database for the monthly reports
  4. OLTP database for purchases, OLAP warehouse for reports

Answer it interactively → Free. Sign in with Google to run it. Your code runs on your device.

In this level you'll learn:
More in Level 13: Data Foundations: Where Data Lives

Share on LinkedIn