Configuring BigQuery Flex Slots
In this chapter, we'll understand how to configure BigQuery Flex Slots to train our ML model.
A BigQuery Slot is a unit of BigQuery analytics capacity that's used to execute SQL queries and train BigQuery ML models. One BigQuery slot represents the compute capacity of a Virtual Compute Processing Unit (VCPU).
Flex Slots allow us to buy BigQuery analytics capacity for short periods. They are usually used to quickly satisfy sudden demands for resources with a minimum duration of 60 seconds.
Enabling Flex Slots is mandatory to train a matrix factorization model; otherwise, BigQuery will return an error during the training stage.
Let's see how we can enable BigQuery Flex Slots if we're using an on-demand plan:
- If you haven't enabled BigQuery Reservations yet, we need to access Reservations from the BigQuery menu on the left:
- Click...