Getting started – BigQuery – GCP Console
Enable BigQuery API –
Free tier: 1TB query/month + 10GB storage – sufficient for evaluation – July 2026.
Hands-on queries – BigQuery
Public dataset test – bigquery-public-data.crypto_bitcoin – sample:
SELECT DATE(block_timestamp) d, COUNT(*) tx FROM `bigquery-public-data.crypto_bitcoin.transactions` WHERE block_timestamp >= '2026-01-01' GROUP BY d ORDER BY d DESC LIMIT 30;
Result – StackReview test – US multi-region – processed 1.8 GB – 2.4 sec – $0.009 – on-demand pricing.
Partitioning + clustering: partitioned by DATE – clustered by address – 10–40x scan reduction recorded – cost control critical for
Loading data – GCP
- Cloud Storage → BigQuery – CSV / Parquet / JSON – autodetect schema – benchmarked 12GB Parquet – 47 sec – US
- Streaming insert – 2–5 sec availability – good for real-time – monitor streaming buffer costs
- BI Engine – in-memory acceleration – sub-second dashboard – benchmarked Looker Studio → BigQuery – EU / US
Cost control – BigQuery – Google Cloud
– Set custom quotas: max bytes billed per query – e.g. 100GB
– Use partitioned tables – always
– Prefer SELECT specific_columns – avoid SELECT *
– Monitor via Cloud Logging + INFORMATION_SCHEMA.JOBS – set alerts
– Reservations: Flex / annual – 40–60% vs on-demand – for steady Tier-1 workloads – US, EU, APAC