Member-only story

Reduce your BigQuery bills with BI Engine capacity orchestration

Márton Kodok
Google Cloud - Community
10 min readFeb 9, 2022

Learn how we at REEA are orchestrating BI Engine reservations by dynamically changing allocation size based on usage using Cloud Workflows on a 5TB dataset, considered small for BigQuery but with big cost savings and accelerated queries.

This article resulted from my experience at REEA, and as GDE on Stackoverflow, where I observed a lot of questions that raise problems over usage and how BI Engine works in accordion with DataStudio and BigQuery.

Introduction

By turning on BI Engine you expect accelerated queries and lower bills. In Google Cloud, everything is measurable and accessible by API, or CLI commands. Those audit logs are so helpful. So we can say, that by having access to the metrics we could achieve more optimal usage of our BI Engine reservation. The question we ask:

Is there a way to resize BigQuery BI Engine to match on-demand query usage, applying daily usage patterns using some automation?

This article covers defining a Cloud Workflow to adjust the BI Engine size parameter up/down to ensure lower costs for your BigQuery on-demand or DataStudio queries. Next, we will see how to use cloud orchestration for making this an automatic process, and combined with BigQuery and Datastudio query complexity that might…

--

--

Google Cloud - Community
Google Cloud - Community

Published in Google Cloud - Community

A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.

Márton Kodok
Márton Kodok

Written by Márton Kodok

Speaker at conferences, a Google Developer Expert top user on Stackoverflow, software architect at REEA.net, co-founder IT Mures, life-long learner, mentor

Responses (1)