DataDriven
LearnPracticeInterviewDiscussDailyJobs

A 2-billion-row Postgres orders fact serves a quarterly report that aggregates two or three columns

A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.

Domain
Pipeline Design
Difficulty
medium

Problem

A 2-billion-row Postgres orders fact serves a quarterly report that aggregates two or three columns per query, but the dashboard takes 18 minutes because Postgres reads every column of every row. Apply the section's columnar-vs-row framing and replace the row-stored fact with a columnar destination so the I/O reduction, compression, and vectorized execution wins all apply.

Practice This Problem

Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • System Design Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons