- Lab
-
Libraries: If you want this lab, consider one of these libraries.
BigQuery Partitioning and Row-Level Security
In this lab, you will explore how schema design plays a critical role in optimizing BigQuery performance and controlling access to your data. You will measure query cost and performance on an unpartitioned table, then create partitioned and clustered tables to minimize data scanned. Finally, you will apply row-level security policies to ensure data access is restricted based on user attributes.
Lab Info
Table of Contents
-
Challenge
Provision Test Data for Performance Benchmarking
- Enable the Big Query service.
- Create a dataset and tables.
- Confirm data is loaded successfully.
-
Challenge
Optimize Query Performance with Partitioning and Clustering
- Create a partitioned table.
- Load data to the partitioned table.
- Cluster the table.
- Compare query performance.
-
Challenge
Control What Data Users Can See with Row-Level Security
- Create row access policies.
- Test multiple row access policies.
- View the policies in the Big Query UI.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.