Migrating from Stored Procedures to dbt
Stored procedures are widely used throughout the data warehousing world. They’re great for encapsulating complex transformations into units that can be scheduled and respond to conditional logic via parameters. However, as teams continue building their transformation logic using the stored procedure approach, we see more data downtime, increased data warehouse costs, and incorrect / unavailable data in production. All of this leads to more stressed and unhappy developers, and consumers who have a hard time trusting their data.
If your team works heavily with stored procedures, and you ever find yourself with the following or related issues:
- dashboards that aren’t refreshed on time
- It feels too slow and risky to modify pipeline code based on requests from your data consumers
- It’s hard to trace the origins of data in your production reporting
It’s worth considering if an alternative approach with dbt might help.