MetricSign
EN|NLRequest Access
High severityperformance

Power BI Refresh Error:
Database Error: BigQuery Slot Timeout

What does this error mean?

A dbt model query against BigQuery exceeded the job timeout or waited too long in the slot queue. The query was cancelled by BigQuery before completion.

Common causes

  • 1Complex dbt model query (many JOINs, large aggregations) exceeding BigQuery's 6-hour job time limit
  • 2On-demand slot queue wait exceeding the effective timeout for the connection
  • 3Very large table scans without partition pruning consuming all available slots
  • 4dbt timeout setting in profiles.yml set too low for the actual query duration
  • 5BigQuery administrative project-level timeout policy cutting off long-running queries

How to fix it

  1. 1Add partition filters to the dbt model: `WHERE date_col BETWEEN '{{ var("start_date") }}' AND '{{ var("end_date") }}'`
  2. 2Break large models into smaller incremental steps using intermediate models
  3. 3Enable clustering on frequently filtered columns to reduce data scanned
  4. 4Increase the dbt `job_execution_timeout_seconds` in profiles.yml (BigQuery adapter setting)
  5. 5For persistent slot exhaustion, purchase BigQuery slot commitments or flex slots
  6. 6Use `EXPLAIN` in BigQuery Console to understand the query execution plan and identify bottlenecks

Frequently asked questions

What is the maximum query runtime in BigQuery on-demand?

BigQuery on-demand queries have a 6-hour job time limit. For longer-running queries, consider breaking them up into materialised intermediate steps or using BigQuery scheduled queries with increased slot reservations.

Other performance errors