Skip to content

Latest commit

 

History

History
222 lines (142 loc) · 13.7 KB

proposal.md

File metadata and controls

222 lines (142 loc) · 13.7 KB
theme backgroundColor marp
gaia
true

From Overgrown to Thriving

Scaling Your dbt Project Like a Gardener


<style scoped> small { color: gray; font-weight: thin; margin: 0; } section:where(.left) { display: flex; flex-flow: column nowrap; justify-content: center; } </style>

Nicholas Yager

they/them

Principal Analytics Engineer Hubspot

bg right 75%


bg


bg contain


Reclaiming an overgrown garden dbt project

  1. Survey your project
  2. Clear out the weeds and trash
  3. Renewal pruning
  4. Divide the perennials
  5. Keep the weeds under control

Survey Your Project

  1. What are your core entities?
  2. What are your exposures?
  3. How are your data consumers using your models?
  4. Are there any obvious architectural issues?
  5. Are there any anti-patterns being used?

Clear Out The Weeds and Trash

  1. Remove deprecated or otherwise unused models
  2. Consolidate duplicate models

bg right 75%


Renewal Pruning

bg 70%


bg contain 90%

bg contain 79%

bg contain 83%

bg contains 65%


Divide the Perennials

bg


Groups and Access

groups:
  - name: go_to_market
    owner:
      email: gtm@garden.supplies

models:
  - name: deals
    group: go_to_market
    access: public

bg right 90% vertical bg right 90% vertical


Multi-Project Deployments

bg contain 75%


Keep the weeds under control

bg


Surface Area Tools
Coding Conventions sqlfluff
sqlfmt
Documentation & Testing dbt-checkpoint
dbt Core tests and contracts
Modeling dbt_project_evaluator
Whetstone
Data Quality dbt_expectations
dbt_utils
Many more

Audience Takeaways

  • An understanding of what an overgrown dbt project looks like and how they can hamper efficiency.
  • Learning skills and techniques that they can implement while taming their dbt deployment.
  • A sense of confidence that they can scale their dbt deployment effectively!

From Overgrown to Thriving

Scaling Your dbt Project Like a Gardener

Nicholas A. Yager yager@nicholasyager.com