Your organization maintains a 4-TB BigQuery fact table that records billions of daily clickstream events. Dashboards in Looker Studio always filter on the event_date column and often add a WHERE customer_id = ? predicate. During interactive analysis the BI Engine reservation frequently runs out of memory, causing queries to spill to slot-based execution and slow down. Which table design change is most likely to improve BI Engine efficiency without increasing the reservation size?
Disable clustering and switch to ingestion-time partitioning without changing the schema.
Partition the table by event_date and cluster it by customer_id.
Partition the table by customer_id and cluster it by event_timestamp.
Leave the table unpartitioned and cluster it only by event_timestamp.
BI Engine only loads the partitions and column chunks that are needed in memory. When a table is partitioned on the mandatory date filter, the engine can prune entire partitions that fall outside the selected date range, sharply reducing the data that must be held in memory. Clustering the remaining rows on customer_id further narrows the blocks that BI Engine reads when the dashboard applies that predicate. Partitioning on a high-cardinality field such as customer_id would create millions of tiny partitions and add overhead, while clustering or using ingestion-time partitions without an appropriate date partition provides far less pruning. Therefore, partitioning by event_date and clustering by customer_id offers the greatest memory savings and performance benefit without enlarging the BI Engine reservation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why does partitioning by event_date improve BI Engine efficiency?
Open an interactive chat with Bash
What is clustering in BigQuery, and how does it benefit queries?
Open an interactive chat with Bash
Why is partitioning by customer_id not recommended in this case?
Open an interactive chat with Bash
Why does partitioning by event_date improve BI Engine efficiency?
Open an interactive chat with Bash
How does clustering by customer_id complement partitioning by event_date?
Open an interactive chat with Bash
Why is partitioning by customer_id considered inefficient in this scenario?
Open an interactive chat with Bash
GCP Professional Data Engineer
Preparing and using data for analysis
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .