dbt Consulting Services

    For teams whose reports are built with dbt, or are moving their SQL logic onto it. Runs get slower and costlier, incremental models drift from the source, and one changed model breaks reports downstream. DharmOps finds the cause, fixes the project or finishes the migration, and stays on to run and support it, on self-hosted dbt or the dbt platform.

    An engineer replies within 24 hours. Or describe the problem first, and see our dbt case study.

    Common dbt Problems We Fix

    Most teams don't call it a dbt problem at first. They notice a warehouse bill that keeps climbing or a report that doesn't match the source. Behaviour described here is from the dbt documentation.

    Every run rebuilds everything

    Models that could load only new rows are built as full tables, so each run rescans years of data. On Snowflake, BigQuery or Databricks that shows up as a warehouse bill that grows with history, not with new data. Runs that took ten minutes now take an hour.

    Incremental models drift from the source

    An incremental model joins three tables and filters on one timestamp, so late rows from the other two never arrive. Or a microbatch model reads upstream models with no event_time set, and dbt scans the full table on every batch. The numbers look right until someone reconciles them.

    A change to one model breaks reports downstream

    Anyone can edit any model in any layer, changes merge without a CI run, and the first test is the morning report. Without unit tests, contracts or a build of the changed models and their dependents on each pull request, a renamed column reaches production unnoticed.

    The project grew into hundreds of tangled models

    Staging, intermediate and mart layers blur. The same logic is copied across five models, sources are referenced directly from marts, and nobody knows which model a dashboard reads. Parsing slows down, docs fall behind, and each new model takes longer than the last.

    The move to the newer dbt engine is stuck

    dbt v2 is faster and stricter than v1, and it drops deprecated features. Projects with years of deprecation warnings, custom macros and packages that haven't caught up don't parse. Adapter support also differs, so some warehouses have to stay on v1 for now.

    Logic still lives in stored procedures or an old ETL tool

    Business rules sit in SQL Server or Oracle stored procedures, Informatica mappings, SSIS packages or Alteryx workflows. Moving them to dbt was started, then paused, so some tables come from dbt and some from the old tool, and their totals don't match.

    dbt Consulting at DharmOps

    dbt consulting is diagnosing, fixing, migrating to and running the dbt project your reports and data products are built from: the models and their layers, the incremental logic, the tests and CI around them, and the engine and warehouse they run on. It is part of our data platform engineering work.

    dbt Project Health Check & Diagnostic

    • Model layers, naming and dependency review
    • Run times and warehouse cost per model
    • Materializations and incremental strategies
    • Test coverage, CI and environment setup
    • Deprecation warnings and package versions
    • Where dbt runs: dbt platform, Airflow, Dagster or cron

    Migration onto dbt

    • Stored procedures on SQL Server, Oracle or PostgreSQL
    • Informatica, SSIS, Talend, Pentaho or Alteryx logic
    • Inventory of rules, owners and the reports that use them
    • Rebuilt as layered dbt models, not copied line by line
    • Each table reconciled against the old output
    • The old jobs retired only after you approve

    dbt for Data Engineering: A Practical Guide

    dbt Engine Upgrades

    • dbt v1 to dbt v2 upgrades, with dbt-autofix where it fits
    • Deprecation warnings and behaviour flags cleared first
    • Adapter and package support checked per warehouse
    • v1 and v2 run side by side during the move
    • Self-hosted dbt or the dbt platform

    Performance & Warehouse Cost

    • Full rebuilds moved to incremental models where they fit
    • Merge, delete+insert, insert_overwrite or microbatch per model
    • Slow models tuned, with partitioning and clustering
    • Only changed models built on each run
    • Warehouse sizing for dbt jobs on Snowflake, BigQuery or Databricks

    Project Structure & Modelling

    • Staging, intermediate and mart layers
    • Sources, refs and naming conventions
    • Shared logic moved into macros and reusable models
    • Snapshots for slowly changing dimensions
    • Groups, access and model versions where teams share models
    • dbt Mesh when one project should become several

    Testing, CI/CD & Environments

    • Unit tests for model logic, data tests for the output
    • Model contracts on models other teams depend on
    • CI that builds changed models and their dependents on each pull request
    • Development, staging and production targets
    • Pull request review for every layer
    • CI on GitHub Actions, GitLab or the dbt platform

    Semantic Layer & Metrics

    • Metrics defined once in the dbt Semantic Layer
    • Semantic models on top of tested marts
    • Metrics served to BI tools and AI agents
    • Definitions agreed with the people who own each number

    Operations & Ongoing Support

    • Fixes when a model, test or run breaks
    • Planned dbt and package upgrades
    • Run time and cost reviews as models grow
    • Runbooks for failed runs, full refreshes and backfills
    • Ongoing support from the engineers who did the work

    Who It's For

    Companies that already run dbt in production and see slow or costly runs, numbers that don't reconcile or changes that break reports. Also teams moving logic onto dbt from stored procedures or an older ETL tool, whether they are planning the move or stuck partway through.

    What It Solves

    Long, costly runs, incremental models that miss rows, untested changes reaching production, a project nobody can follow, an engine upgrade that won't parse, two systems producing the same table, and knowledge that lives in one person's head.

    How It Starts

    With a diagnostic, not a tool or a quote. The diagnostic decides whether to fix the current project, restructure it, finish a migration, upgrade the engine now or wait, and where dbt should run.

    What It Isn't

    We don't resell the dbt platform or sell training courses. We work in your repository and your warehouse. Dashboards and BI reports sit with Data Analytics, data SLOs and incident response with Data Reliability, and spend reduction across the platform with Data Cost Optimization.

    Where It Sits in Your Stack

    dbt turns raw tables loaded into the warehouse into the cleaned, joined and tested tables your reports, applications and AI tools read. An orchestrator decides when it runs. When a report shows a wrong number, the cause is often a model upstream of it, not the report itself.

    What Changes When Your dbt Project Is Fixed

    What DharmOps puts in place in a dbt consulting engagement and what it means for you
    What we put in placeWhat it means for you
    Incremental models where they fit, with the right strategy per modelRuns finish sooner and warehouse spend tracks new data, not total history
    Incremental logic built on the time rows landed, with late-row handlingTables match the source, and reconciliation stops turning up gaps
    Unit tests, contracts and CI on every pull requestBreaking changes are caught in review, not in the morning report
    Clear layers, naming and ownershipAnalysts can add models safely, and each dashboard traces back to one source
    An upgrade plan for the dbt engineYou move to the newer engine where your adapter supports it, without breaking jobs
    Docs, runbooks and ongoing supportdbt doesn't depend on the one person who built the project

    What You Receive and What You Provide

    What You Receive

    Diagnostic output

    A written assessment of your dbt project: layers, materializations, incremental logic, run times and warehouse cost, tests, CI and deprecations, with fixes ranked by impact and effort.

    Migration or upgrade plan

    If you're moving onto dbt or to the newer engine, which logic or models move first, which to rebuild and which to leave, and how each one is checked, agreed before any change is made.

    Target project design

    The layers, naming, materializations and environments your project should follow, and where dbt runs: the dbt platform, Airflow, Dagster or your own runner.

    Fixed and built models

    Models restructured, made incremental, tuned or newly built, with the reasoning behind each change written down in the pull request.

    Tests and CI/CD

    Unit tests, data tests and contracts where they matter, and CI that builds and tests changed models on every pull request.

    Cost and run time baseline

    Run time and warehouse cost for your heaviest models before and after the work, so you can see what changed.

    Runbooks

    Step-by-step procedures for failed runs, failed tests, full refreshes, backfills and upgrades, written so a junior engineer could follow them alone at 2am.

    Documentation and training

    Model docs that match the code, a style guide for the project, and sessions for the analysts and engineers who add models.

    Ownership

    The dbt project, macros, CI configuration and documentation live in your repository and belong to you. Nothing proprietary sits in the middle.

    What You Provide

    1. Access to the dbt repository, run logs and the warehouse, approved by you before we use it.
    2. People who own the numbers: someone who knows what each critical model produces and which reports depend on it.
    3. A list of critical models and the deadlines the business holds them to, such as revenue tables ready by 8am.
    4. Your current setup: dbt version, self-hosted dbt or the dbt platform, the warehouse, and how runs are scheduled.
    5. For migrations: access to the stored procedures, ETL jobs or workflows being replaced, and their current outputs.
    6. Early notice of regulated data such as health, financial or personal data, so handling is agreed before work starts.

    How an Engagement Works

    Six steps, in order. Each ends with something you can see, and nothing moves on until you've approved it.

    1. Discovery call
    2. Diagnose
    3. Prioritize
    4. Fix
    5. Stay

    Discovery Call

    We talk through what you're seeing in your dbt project, which warehouse it runs on, and what you need.

    • You receive: a clear answer on whether dbt consulting is the right next step
    • You provide: a short description of the symptoms, your dbt version and your warehouse
    • Approval: both sides agree there is something to diagnose

    Diagnostic

    The step after the discovery call, and the gate before any scope is set. We review model layers, materializations, incremental logic, run times and cost, tests, CI and deprecations, and, if you're migrating, the logic that has to move.

    • You receive: a written plan ranking fixes by impact and effort, a migration or upgrade plan if one applies, and the cost and risk behind each option
    • You provide: read access to the repository, run logs and warehouse usage, and time with the people who own the models
    • Approval: you approve the plan

    Scope is quoted after this step, not before

    Design

    We design the target project: layers, naming, materializations, environments, tests, CI and where dbt runs.

    • You receive: a design document covering the project structure, the model changes and the order they ship in
    • You provide: sign-off from the people who own the models and the reports
    • Approval: you sign off on the design before any change starts

    Fix and build

    We fix the causes found in the diagnostic, restructure or rebuild models, and add tests and CI as we go, all through pull requests in your repository.

    • You receive: reviewed pull requests, regular demos and documentation written as we go
    • You provide: a named contact who answers questions promptly, and decisions on any model we flag
    • Approval: each change is accepted against criteria agreed in the design

    Cut over

    New and changed models run next to the old ones first. Each table is reconciled against the old output, and the old job or model is paused, not deleted, until you approve.

    • You receive: matching outputs, resolved differences and a log of what was fixed
    • You provide: someone on your side to confirm the numbers match what the business expects
    • Approval: you approve retiring the old jobs or models

    Ongoing support

    Support starts at cut over, with the same engineers who did the work. The first weeks get closer attention, because that is when production surprises appear.

    • You receive: fixes when a model or run breaks, planned upgrades, cost and run time reviews, small changes handled as requests, and runbooks that stay current
    • You provide: a named contact, and early notice when a source system or report is about to change
    • Approval: support scope is agreed in writing before support begins

    Continues after cut over, with the same engineers

    Timeline

    How Timing Works

    The diagnostic produces a timeline with milestones, each tied to something you can verify, not only a date. Dates move when a dependency on either side moves, and we tell you the same day it happens. The dependencies that matter most:

    • Models: how many models there are, and how many need restructuring or rebuilding rather than small fixes.
    • Legacy logic: for migrations, how many stored procedures, mappings or workflows there are, and how well their rules are documented.
    • Engine and adapter: your dbt version, deprecation warnings, custom macros and whether your adapter and packages support the newer engine.
    • Tests: whether tests exist today, or need to be written before models can change safely.
    • Access: how quickly access to the repository, the warehouse and run logs is approved.
    • Review: compliance or security review, if your data is regulated.

    An Engagement Built on dbt

    E-commerce: one-off pipelines to reusable templates

    Situation
    Custom, one-off pipelines, with requests queuing at a central data team.
    What we did
    Reusable pipeline templates on a Snowflake platform, with transformations in dbt, orchestration in Dagster and Airflow, automated validation and CI/CD.
    Result
    A repeatable platform where problems are caught earlier.

    Read the e-commerce data platform case study

    More on our work in all case studies.

    Why Teams Bring DharmOps In for dbt

    We diagnose before we recommend.We read your models, run logs and warehouse usage before suggesting a rebuild, an engine upgrade, the dbt platform or a different tool. The written plan comes before any timeline or price.

    We know the warehouse underneath.dbt generates SQL, and the warehouse runs it. Slow or costly models are often a partitioning, clustering or warehouse sizing problem, not a dbt problem. Our engineers work hands-on across Snowflake, BigQuery, Databricks, Redshift, SQL Server and PostgreSQL, so those causes get found.

    We run the orchestration too.Most dbt projects run inside Airflow, Dagster or the dbt platform. We support all three, so a failed run gets traced through the scheduler as well as the model.

    You own it, and we stay.The project lives in your repository, on self-hosted dbt or the dbt platform. After the work, DharmOps stays on to run and support it.

    How We Handle Your Systems

    A dbt project holds your business logic and a connection to your warehouse. Giving an outside team access to it is a serious decision. These are the rules we work by.

    • NDA before any access. Signed before we see anything.
    • Least access. We ask only for what the current step needs.
    • Approval before access. You approve each access level before we use it.
    • Your data stays where it lives. We work inside your environment, in the cloud or on-premises.
    • Deletion we verify. When work ends, anything we held is deleted and the deletion is confirmed.
    • Written incident procedure. If something goes wrong, there is a documented process, not improvisation.

    dbt Questions Teams Ask Before Booking

    What does a dbt consultant do?

    A dbt consultant diagnoses and fixes the dbt project your reports and data products are built from: slow or costly runs, incremental models that drift from the source, missing tests and CI, and a project structure nobody can follow. They also move logic onto dbt from stored procedures or older ETL tools, upgrade the dbt engine, and set up testing and CI. DharmOps also stays on to support the project after the work is done.

    What is the difference between dbt Core, dbt v2 and the dbt platform?

    dbt Core was the original open-source, Python-based dbt, now maintained as dbt v1. dbt v2 is the newer Rust-based engine, formerly called Fusion. It comes as a free full distribution and an Apache 2.0 subset called dbt OSS. The dbt platform, formerly dbt Cloud, is dbt Labs' paid hosted service for running, scheduling and governing dbt projects. You can run v1 or v2 yourself, or run either on the dbt platform.

    Should we upgrade from dbt v1 to dbt v2?

    Usually, once your adapter and packages support it. v2 parses and compiles faster and checks SQL more strictly, but it drops deprecated features, so every deprecation warning has to be cleared first. v1 and v2 can run side by side and share state, so projects can move incrementally. If your warehouse's adapter isn't supported in v2 yet, staying on v1 is the right call for now.

    Why are our dbt runs so slow?

    The common causes are: models built as full tables when they could be incremental, incremental models whose filters still scan the whole table, microbatch models whose upstream models have no event_time, schema changes applied in place to large tables, too few or too many threads, and a warehouse sized wrong for the job. The diagnostic measures run time and cost per model to find which applies.

    Which dbt incremental strategy should we use?

    It depends on the warehouse, the data volume and whether you have a reliable unique key. Append suits event data that never changes. Merge and delete+insert update existing rows by key. Insert_overwrite replaces whole partitions. Microbatch processes large time series in batches by event time. Support differs by adapter, so the choice is made model by model.

    Can you migrate stored procedures or Informatica jobs to dbt?

    Yes. We inventory the procedures, mappings or workflows, the rules inside them and the reports that use them, then rebuild the logic as layered, tested dbt models rather than copying it line by line. Each table runs next to the old one and is reconciled before the old job is retired.

    What is the difference between dbt unit tests and data tests?

    Data tests check the output after a model is built, for example that a key is unique or never null. Unit tests check a model's SQL logic on a small set of fixed inputs before the model is built, so a logic error fails in CI instead of in production. Most projects need both.

    Do we need the dbt platform, or is self-hosted dbt enough?

    Self-hosted dbt, scheduled with Airflow, Dagster or a CI runner, covers many teams. The dbt platform adds a hosted IDE, scheduling, a catalog with lineage, the Semantic Layer and, on Enterprise plans, multi-project dbt Mesh and SSO. The diagnostic weighs what you would use against what you already run. We don't resell either.

    Does dbt work with our warehouse?

    dbt runs on most cloud warehouses and databases through adapters, including Snowflake, BigQuery, Databricks, Redshift, Microsoft Fabric, SQL Server and PostgreSQL. The incremental strategies and features available differ by adapter, and so does support in the newer dbt engine.

    How is dbt consulting priced?

    Scope is quoted after the diagnostic, once we have looked at your project, and before you commit. Cost depends on the number of models, whether you're migrating logic onto dbt or upgrading the engine, how much test coverage exists, compliance requirements and whether support continues afterward.

    What happens after the work is done?

    The same engineers stay on. They fix breaks, handle planned dbt and package upgrades, review run time and cost as models grow, and handle small changes as requests. The runbooks and docs stay current, so your dbt project doesn't depend on one person.

    Engine, testing and CI details are from dbt's v2 upgrade guide, microbatch, unit test, model contract and CI documentation and its licensing FAQ.

    Data Platform Engineering Use Cases by Industry

    Every industry has source systems that don't talk to each other, often split across cloud and on-premises environments. Data platform engineering is the platform and pipeline work that turns them into one dataset your teams can query.

    Data Platform Engineering for Retail & eCommerce

    POS, storefront, and warehouse systems each hold part of the inventory picture. We build ELT pipelines into one warehouse so stock, sales, and demand sit in one place.

    Data Platform Engineering for SaaS & Software

    Product usage events have to reach reporting without a ticket to the data team. We build the ingestion, dbt models, and self-service golden paths that let product and finance teams ship their own datasets.

    Data Platform Engineering for Logistics

    Load events, warehouse scans, telematics, and EDI documents arrive in different formats. We land each source raw, normalize it in a silver layer, and publish business-ready views on top.

    Data Platform Engineering for Healthcare

    Claims, EHR extracts, and lab feeds use different codes and identifiers. We build pipelines that standardize them and enforce data contracts, so downstream reporting stops breaking when a feed changes.

    Data Platform Engineering for FinTech

    Ledger and payment data have to reconcile across systems. We build the pipelines with schema checks at each hop, so a changed field is caught at ingestion instead of in a finance report.

    Data Platform Engineering for Manufacturing

    MES, ERP, and sensor data live in separate systems on separate schedules. We integrate them into one platform, so plant and finance teams read the same numbers.

    Companies we've worked with

    "Our PostgreSQL queries were slowing down as our dataset grew. We'd already tried the obvious fixes ourselves. DharmOps got into our query plans, identified the root cause quickly, and tuned what mattered. The kind of deep database knowledge you can't easily find elsewhere."

    Jasara Technology Inc.

    PostgreSQL Query Optimization

    Start With a Conversation About Your dbt Project

    If your dbt runs keep getting slower and costlier, your numbers don't reconcile, or your move onto dbt has stalled, the first step is a 30-minute discovery call.

    dbt and dbt Labs are trademarks of dbt Labs, Inc.