dwhat

For data teams on BigQuery and Snowflake

Find out why the warehouse bill went up, before finance asks.

dwhat reads your query history with a read-only account and attributes every query's cost to the user, the dbt model and the dashboard behind it. It tells you the day spend jumps, shows the queries worth fixing first, and writes the monthly report.

The usual way this goes

The bill doubles. Nobody knows why until finance asks, and then someone spends a day in query history exporting rows into a spreadsheet, trying to work out whether it was a new dashboard, a dbt model that stopped being incremental, or one person's notebook.

dwhat does that work every day, so the answer exists before the question.

What it does

Daily cost by user, model and dashboard

Every billed query, priced and attributed: which warehouse user ran it, which dbt model built it, which dashboard asked for it.

Spike alerts by email

When a day costs well above its usual median, you get an email that says what grew — the user, model or dashboard — not just that the total went up.

The 20 most expensive queries

Identical queries grouped together, ranked by what they cost, each with a fix hint where the evidence supports one: full scans, SELECT *, spilling, rebuilt models, dashboards refreshing every few minutes.

A monthly report for finance

The month's total against the month before, and where it went. Printable, as CSV, and emailed on the first of the month if you want it.

How the audit works

Create a read-only accountA role that can read query history and usage, and nothing else — no table data, no writes. One script for Snowflake, four gcloud commands for BigQuery, both on the audit page. Or upload a CSV export instead. Someone else creates accounts? The review page is written for them.
Add it to dwhatIt reads the last 45 days of history, and the page fills in when it is done.
Read the resultCost by day, user, model and dashboard, and the 20 most expensive queries with what to change.

Costs are computed at list price — $6.25 per TiB on BigQuery on-demand, $3 per Snowflake credit — until you enter the rate on your contract. Compute only: storage and transfer are billed separately.

Connect a read-only account for a free auditOr upload a CSV exportSee a sample audit

Planning a new dashboard or schedule?

The BigQuery recurring query cost calculator estimates what a query costs when it refreshes every few minutes or runs daily, and compares it with a slower interval. No account.

Stop one query before it costs too much

The BigQuery maximum bytes billed calculator turns a budget for one query into the byte ceiling that enforces it, with the bq query flag and the Python client setting to copy into your code. No account.

On-demand or capacity pricing?

The BigQuery pricing break-even worksheet sets a month of on-demand cost per TiB beside a slot reservation you propose, and shows the billed TiB where the two entered costs match — with the formulas, and what that arithmetic cannot tell you about slots. No account.

BigQuery jobs in more than one project?

The multi-project cost SQL generator writes one read-only query over the projects you name that returns bytes billed and estimated on-demand cost by day and project. You run it; no account, no credentials.

Did that change cut the bill, or put it up?

Compare warehouse cost before and after: one BigQuery or Snowflake CSV export, two periods of it, and the change in total and per UTC day by user, dbt model and dashboard — worked out in your browser, with a plain-text summary to send to finance. No account.

Snowflake compute higher than its queries?

Reconcile warehouse metering with query credits: two CSV exports, set side by side by UTC day and warehouse in your browser, show how much compute no query carries, how much of it Snowflake counts as idle, and where the query history is incomplete. No account.

Planning Snowflake warehouse spend?

Estimate warehouse cost by size and hours, including clusters and the runtime needed for a resize to save credits.

Choosing a Snowflake auto-suspend setting?

The auto-suspend calculator compares twoAUTO_SUSPEND delays for a repeating pattern of query bursts: billed seconds, credits and a timeline of running, idle and suspended time, with the 60-second minimum per resume. A scenario you describe; no account.

Missing model or dashboard names?

The query attribution checker reads a query's SQL comment, BigQuery job labels or Snowflake query tag as the audit would, and says which dbt model, dashboard and tool it would recognise — or why not. It runs in your browser; no account.

Guides

Rather check by hand first? Each guide answers one question with SQL you can paste into BigQuery or Snowflake.