A retail analytics team is troubleshooting a Looker Studio dashboard that runs SQL against a 10-TB sales fact table in BigQuery. They have purchased a 20-GB BI Engine reservation, but most charts still take about 25 seconds to load. Query plans show full table scans even though analysts usually filter the dashboard to the last 90 days of data. The team wants faster, sub-second response times without rewriting any of the existing Looker SQL. Which action will let BI Engine accelerate the dashboard with the least additional effort?
Increase the project-wide shuffle parallelism setting so query stages finish faster when BI Engine is used.
Create materialized views for the last 90 days of sales data because BI Engine can accelerate only materialized views.
Export historical partitions to Bigtable and leave only the most recent 90 days in BigQuery so the table fits entirely in the BI Engine cache.
Partition the sales table by transaction_date and cluster it on frequently filtered dimensions so BI Engine only caches the relevant partitions.
BI Engine keeps frequently accessed columns in an in-memory cache, but it can only load as much data as the reservation allows. When a table is partitioned and clustered, the BigQuery optimizer prunes unneeded partitions and blocks before BI Engine is invoked. That selective pruning means only the partitions that match the 90-day filter have to be loaded into the 20-GB cache, giving BI Engine a dataset small enough for sub-second queries without changing the SQL generated by Looker Studio.
Creating materialized views could help, but it would require new objects and maintenance; BI Engine is not limited to materialized views. Moving data to Bigtable would break existing queries, and tuning shuffle parallelism affects execution, not BI Engine's in-memory cache.
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.
What does partitioning and clustering mean in BigQuery?
Open an interactive chat with Bash
How does BI Engine work with partitioned and clustered tables in BigQuery?
Open an interactive chat with Bash
Why can't materialized views or Bigtable solve the problem in this scenario?
Open an interactive chat with Bash
Why is table partitioning important for BI Engine performance?
Open an interactive chat with Bash
What is clustering, and how does it work with partitioning?
Open an interactive chat with Bash
How does BI Engine utilize in-memory caching for query acceleration?
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 .