BigQuery
Exam guide§2.2
Serverless analytics data warehouse. SQL over petabytes, separates storage from compute, pay per query (or slots). Scales to zero when idle. Pick it for enterprise data warehousing, analytics, dashboards, and BI. Not for transactional single-row workloads.
Access
No database administrator needed - you query with familiar SQL and let Google's infrastructure do the work. Reach BigQuery through:
- The Google Cloud console
- The
bqcommand-line tool - The BigQuery REST API via client libraries (Java, .NET, Python)
- Third-party tools for visualizing or loading data
Query example
Standard SQL over a table groceries, aliased as g. SELECT g.* returns one output column per column in the table:
Loading data
Stage files in Cloud Storage first, then batch-load with bq load - the standard ingest pattern. For streaming rows, use the BigQuery Storage Write API instead.