Bird
0
0

If you run dbt with --threads 4 and have 6 models all independent of each other, how many models will dbt run concurrently?

medium📝 Predict Output Q5 of 15
dbt - Performance Optimization
If you run dbt with --threads 4 and have 6 models all independent of each other, how many models will dbt run concurrently?
A1 model
B6 models
C2 models
D4 models
Step-by-Step Solution
Solution:
  1. Step 1: Understand thread limit

    The --threads option limits the number of models running simultaneously.
  2. Step 2: Consider model independence

    Since all 6 models have no dependencies, they can run in parallel up to the thread limit.
  3. Final Answer:

    4 models -> Option D
  4. Quick Check:

    Threads limit concurrency, so max 4 run at once. [OK]
Quick Trick: Max concurrent models equals thread count [OK]
Common Mistakes:
MISTAKES
  • Assuming all models run simultaneously regardless of threads
  • Confusing number of models with thread count

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes