Google Cloud · Data Analytics
BigQuery
A serverless data warehouse that runs SQL over terabytes to petabytes, billed by bytes scanned or reserved capacity.
On the Google Cloud Associate Cloud Engineer exam listStream processingMonitoring and observability
What it is and what problem it solves
BigQuery stores data in columnar tables inside datasets and runs SQL on Google's shared infrastructure, so there are no clusters to size. Storage and compute are separate: with on-demand pricing you pay for bytes each query scans; with capacity pricing (editions) you reserve slots. It loads data in batch, streams rows, queries external data (Cloud Storage, Bigtable), and includes BigQuery ML and BI Engine.
When to use it
- Analytics and reporting over large datasets.
- Log and event analysis (billing export, Cloud Logging sinks).
- A central warehouse for BI tools and dashboards.
When to avoid it
- Transactional workloads with many small updates: Cloud SQL, AlloyDB or Spanner.
- Low-latency key lookups for applications: Bigtable or Memorystore.
Limits and quotas
| Item | Value | Context | Source |
|---|---|---|---|
| On-demand free tier | 1 TiB of query data per month Fixed limit |
Source checked |
Quotas and limits change. Check the linked source before designing around a number.
Cost model
What you pay for
- Queries: bytes scanned (on-demand) or slots (capacity).
- Storage: active and long-term (cheaper after 90 days unchanged).
- Streaming inserts and BI Engine.
Where it is cost-efficient
Partitioned and clustered tables queried for the columns needed.
Where costs grow
SELECT * on unpartitioned tables, frequent dashboard refreshes, unfiltered scheduled queries.
Cost controls and common surprises
Partitioning with required partition filters, clustering, maximum bytes billed, custom quotas, and materialised views.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
IAM at dataset, table, row and column level (policy tags); encryption at rest with CMEK option.
What you configure
Grant data access by group, use authorised views and column-level security for sensitive data, and consider VPC Service Controls.
Exam cues and common confusions
- Serverless SQL analytics at scale: BigQuery.
- Reduce query cost: partition, cluster, select fewer columns, preview bytes with a dry run.
- Export billing or logs for analysis: into BigQuery.
Related
Courses and lessons
- The Dashboard That Cost Thousands · Google Cloud in Production · Members
Services, comparisons and patterns
- Cloud Storage · Service
- Dataflow · Service
- Pub/Sub · Service
- Cloud Logging · Service
- Cloud Billing · Service
- Event-driven order processing · Solution pattern
Sources
Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.