Your analytics job is the biggest line on your cloud bill

The product team ships carefully and the servers are sized right, yet the biggest line on the cloud bill is the data warehouse. Nobody can say which report is responsible, so nobody can decide what to change.

When the warehouse is the biggest line on your cloud bill, the cause is almost never the amount of data you store. It is how often you read it and how much of it each read touches. In most of the estates we look at, a small number of scheduled jobs and dashboards account for most of the spend, and they read far more data than the people looking at the result need. You fix it by making cost visible per job and per dashboard, and then by matching each one to how it is actually used. A new warehouse is rarely the answer.

This is a boundary problem. The platform team sees a bill they cannot explain, and the data team sees queries that work. Each side is right about its half, and the money leaks through the gap between them.

How warehouses actually charge you

You cannot read the bill without knowing the pricing model, and there are two main ones.

Pay per data read. BigQuery’s on-demand model charges for the bytes each query processes. A query that scans a whole table costs the same whether it returns one row or a million. Because storage is columnar, the columns you select matter as much as the rows you filter, and in BigQuery adding LIMIT to a query does not reduce what it reads.

Pay for compute time. Snowflake virtual warehouses, BigQuery capacity reservations and Redshift clusters charge for compute while it runs. Here a heavy query costs you in time, and a dashboard that wakes a warehouse every few minutes keeps it running all day for a handful of viewers.

In both models, storage is usually the smaller part. That is why “we have too much data” is the wrong diagnosis most of the time. The cost is in the reading.

Why the line grows without anyone deciding it should

Nobody sets out to build an expensive analytics stack. It grows one reasonable decision at a time.

Dashboards that refresh more often than anyone looks. A dashboard with a dozen tiles is a dozen queries. Set to refresh every fifteen minutes, it runs all night and all weekend for a team that opens it on Monday morning.

Full rebuilds every hour. A transformation that recreates a whole table from raw history on every run, when only yesterday’s rows changed. It was fine when the history was a few weeks long. It is still running the same way two years later.

Tables without partitions. If a large events table is not partitioned by date, a query for last week reads every week since launch. If it is partitioned but the dashboard filters on a different column, the result is the same.

SELECT * in models and BI tools. Wide tables, many columns nobody uses, all read on every refresh.

Live connections from BI tools. Some BI tools send a query to the warehouse every time someone moves a filter. That is fine on a small modelled table and costly on raw data.

Development that rebuilds production-sized data. Each analyst’s branch or test run rebuilds the full model graph against full history.

None of these is a mistake when it is made. Together they turn the warehouse into the largest line on the bill.

Make cost visible per job and per dashboard

The cloud bill tells you the warehouse is expensive. It does not tell you which query. For that you need the warehouse’s own job history.

In BigQuery, the INFORMATION_SCHEMA.JOBS views list every query with the bytes it billed, who ran it and when. In Snowflake, the QUERY_HISTORY and warehouse metering views in the ACCOUNT_USAGE schema give you query time and credits per warehouse. Both can be queried in SQL, so the first step is a simple table: cost by job, by user or service account, by day.

That table becomes far more useful once each query says where it came from:

  • Give each tool its own identity. A separate service account for the BI tool, the orchestrator and each scheduled export. Then “who ran it” already answers most of the question.
  • Label the jobs. BigQuery supports labels on query jobs, and Snowflake has query tags. Set the dashboard name or model name as a label, and you can group cost by dashboard.
  • Put the cost view where people see it. A small dashboard with the top jobs and top dashboards by cost, reviewed monthly by someone from data and someone from platform.

An example, for illustration. A company’s cost view shows that one sales dashboard is the single largest consumer in the warehouse. It has twelve tiles. Each tile queries the raw events table directly, with no date partition, and the dashboard is set to refresh hourly. The view statistics show it is opened mostly on Monday mornings, by a few people. The fix takes a few days: one pre-aggregated daily table that the twelve tiles read from, built incrementally, refreshed once a day before the working day starts. The dashboard shows the same numbers. The warehouse reads a small fraction of what it did.

What to fix, in order

Start with what is cheap and safe, and work towards what needs more care.

  1. Switch off what nobody reads. Most BI tools record views per dashboard. Dashboards and scheduled exports that nobody opened in the last few months are candidates to retire. Ask the owner first, then stop the schedule before deleting anything.
  2. Match refresh to reading. If a dashboard is read daily, refresh it daily. If a number drives a decision every hour, keep it hourly, and make that the exception you chose on purpose.
  3. Partition and cluster the big tables. Partition large tables by the date most queries filter on. BigQuery can require a partition filter so that a query without one fails instead of scanning everything.
  4. Build incrementally. Transformations should process new and changed rows, with a full rebuild kept for when the logic changes. Tools such as dbt support incremental models directly.
  5. Give dashboards their own small tables. Pre-aggregate to the grain the dashboard shows. A chart of daily revenue by country does not need every click.
  6. Put guardrails in place. A maximum bytes billed setting on BigQuery jobs, auto-suspend on Snowflake warehouses, budgets and alerts on the project, and development runs limited to a recent slice of data.

The same fixes, matched to the causes described above:

CauseWhy it costsFix
Dashboard refreshing more often than anyone looksEvery tile is a query, running all night and all weekendMatch the refresh to how often it is read
Full rebuild every hourRecreates the whole table when only yesterday’s rows changedBuild incrementally, full rebuild only when the logic changes
Large table without partitionsA query for last week reads every week since launchPartition by the date most queries filter on
Live BI connection on raw dataA query to the warehouse every time someone moves a filterA small pre-aggregated table per dashboard
Development on production-sized dataEach branch or test run rebuilds full historyLimit development runs to a recent slice of data

Write each change down with its expected effect and its risk, just as you would for any other cost finding. We described that way of working in what a cloud cost review usually finds.

What not to cut

Freshness that someone acts on. If operations reorder stock from a dashboard during the day, slowing its refresh to save money moves the cost somewhere less visible. Ask what decision the number drives before you change its schedule.

Raw history. Storage is usually the cheap part. Deleting old raw data to save on storage takes away your ability to rebuild a model when a definition changes. Move it to a cheaper storage class if your warehouse offers one, and keep it.

Data quality tests. Tests read data too, and they belong on the list of jobs to tune, not to remove. A test on a partitioned table that checks only yesterday is cheap. Losing it means the next wrong number reaches a meeting.

When this advice is wrong

When the warehouse line is small in absolute terms. If the biggest line is still a minor cost next to one person’s time, set a budget alert and get on with other work.

When you pay for fixed capacity that sits idle. If you have committed to a fixed amount of compute and it is rarely busy, an extra query costs you almost nothing. Then the useful questions are about contention between workloads and whether the commitment is the right size.

When the opposite problem is the real one. Some companies have no warehouse cost at all because reports run directly against the production database, and the cost shows up as slow pages for customers. That calls for moving analytics off production first.

When usage grows with the business. More customers, more data, more people asking questions. If cost per report or per active user is flat, the bill is healthy.

FAQ

Why is our BigQuery bill so high?

Usually because a few scheduled queries and dashboards scan large unpartitioned tables, often more frequently than anyone reads the result. Query INFORMATION_SCHEMA.JOBS for bytes billed per job, group by user and label, and look at the top ten first.

How do I see warehouse cost per dashboard?

Run each BI tool and scheduler under its own service account, and label queries with the dashboard or model name. Then group the warehouse’s job history by that label. Without labels you can still get far by grouping on service account and query text.

Should we move to a different warehouse or to fixed capacity pricing?

Not as a first step. The same dashboards and full rebuilds cost money on any platform. Fix the usage first, then compare pricing models on the workload you have left.

How we approach it

Analytics cost sits on the line between the two halves of our work, and we handle both with one team. We build the per-job and per-dashboard cost view, find the handful of jobs behind most of the spend, and fix them in your models and schedules as part of our data platform and pipeline work. When the warehouse is one line among several on a growing bill, we look at the rest in a cloud architecture and cost review, and you keep the ranked list either way.

Tell us what's broken.

A few sentences is enough. We reply within one working day and the first call is free.