dbt + BigQuery
Performance Pack
Your BigQuery bill has a leak. This pack gives you 68 production-ready files — macros, SQL analyses, playbooks, and benchmark scripts designed to help you catch waste faster, ship safer incrementals, and bring proof to the next standup.
- ✓ 30-day money-back
- ✓ Instant download
- ✓ Lifetime updates
- ✓ Compatible with dbt 1.6+
Built to help you catch expensive query patterns, stop silent MERGE mistakes, and show before/after proof without building everything from scratch.
The patterns that quietly drain your BigQuery budget
Most teams only discover these on billing day — when it is already too late.
Unpartitioned tables
Queries scan entire datasets instead of the partitions you actually need.
Common cost driverMERGE creates silent duplicates
Standard incremental patterns fail quietly when the source contains duplicate rows.
Data quality riskNo per-model cost visibility
Without attribution queries, the invoice grows and nobody knows which model caused it.
Zero attributionRebuilding the same patterns
Date spines, cost guards, dedup macros, and benchmark logic keep getting rebuilt from scratch.
Engineering wasteRunning in 10 minutes
No complex setup. Install, run one analysis, benchmark before/after, and bring proof to the next standup.
Add to packages.yml
Copy dbt_package/ch_bq_pack/ into your repo and install as a local package.
packages: - local: ./dbt_package/ch_bq_packThen run dbt deps.
Copy macros directly
No package config required. Move the macros into your existing project structure.
cp -R dbt_package/ch_bq_pack/macros ./macrosWorks with standard dbt + BigQuery projects.
Run a cost analysis
Start with INFORMATION_SCHEMA to find the worst offenders first.
analyses/cost/cost-01-top-20-most-expensive-queries.sqlSet var('bq_region') if needed.
Benchmark before/after
Use the Python harness to capture bytes billed, runtime, and JSON proof.
python scripts/benchmark/harness.py --sql query.sql --runs 3Requires google-cloud-bigquery + ADC.
Six deep-dive playbooks. 68 files ready to ship.
Not theory, not slides. Production-ready code you validate in your own environment.
Query Cost Optimization
Diagnose expensive queries, fix partition pruning, add clustering, and deploy cost guards before billing day hits.
Incremental Models & MERGE
Safe MERGE patterns, late-arriving data strategies, and production-ready dedup logic that holds up under pressure.
Macros & Reusable Patterns
18 installable macros covering spend guardrails, safety nets, quality assertions, date spines, and Editions planning.
Performance Tuning
JOIN patterns, BI Engine strategies, query cache opportunities, and practical SQL examples to reduce wasted bytes.
Benchmark Harness
Measure cost and runtime before and after every change. Generate stakeholder-ready JSON proof without guesswork.
Editions Migration
Decision frameworks and autoscaling guidance to compare Standard, Enterprise, and Enterprise Plus for your workload.
What the download looks like
A quick macOS-style peek before you open the live editor below.
Real shipped code. No mystery box.
Click any file in the sidebar. Open tabs, close tabs, inspect the syntax. This is a live preview of the kind of code inside the pack.
Why serious teams buy this
No fake scarcity, no magic promises — just the specific problems this pack is designed to help you tackle faster.
Catch runaway scans before the invoice lands
cost_guard is built for the exact moment when one model suddenly starts scanning hundreds of GB every run.
Stop silent duplicate rows
safe_merge_dedup gives you a tested starting point for the source dedup problem that breaks dashboards later.
Show before / after evidence
The harness standardizes runtime, bytes billed, and JSON reporting so optimization work is easier to justify.
Estimate monthly spend in 60 seconds
Use on-demand BigQuery assumptions to model current spend, expected reduction, and potential savings. Estimate only. Results vary.
One purchase. Lifetime access.
No subscriptions. Buy once, keep the pack, reuse the patterns, and get future updates.
1 engineer · unlimited personal and professional projects
- ✓ All 6 playbooks
- ✓ 18 dbt macros
- ✓ 30+ SQL snippets
- ✓ Benchmark harness
- ✓ Cheat sheet + quickstart
- ✓ Lifetime updates
Up to 5 engineers · shared repo · same organization
- ✓ Everything in Solo
- ✓ Up to 5 engineers
- ✓ Shared internal repository
- ✓ Organization-wide projects
- ✓ Lifetime updates
Unlimited engineers · CI/CD rights · internal tooling rights
- ✓ Everything in Team
- ✓ Unlimited engineers
- ✓ CI/CD integration rights
- ✓ Internal tooling rights
- ✓ Lifetime updates
30-day money-back guarantee · Instant download · Estimate only · Results vary
Common questions
Start shipping.
68 production-ready files. Instant download. Lifetime updates. 30-day money-back guarantee.
