Google Cloud BigQuery ➔ Amazon Redshift & Amazon Athena
From BigQuery dynamic Dremel slots to Amazon Redshift MPP (Distkeys/Sortkeys) & Amazon Athena.
If you want BigQuery's exact serverless pay-per-query experience in AWS, use **Amazon Athena** ($5.00/TB scanned over S3 Parquet with zero cluster setup). If you want an enterprise provisioned data warehouse with dedicated high-concurrency throughput, use **Amazon Redshift** where you explicitly declare `DISTKEY` (sharding) and `SORTKEY` (clustering)!
1. Architectural Mechanism Comparison
Google Cloud BigQuery
100% serverless SQL data warehouse where compute (Dremel slots) scales automatically from 0 to thousands with columnar Capacitor storage ($5.00/TB scanned).
- Zero cluster management ($5/TB on-demand or flat editions).
- Automated table partitioning and clustering with no manual distribution keys.
- Integrated BigLake and BigQuery ML.
Amazon Redshift & Amazon Athena
AWS splits analytical workloads into two powerful engines: 1) Amazon Redshift: Massively Parallel Processing (MPP) data warehouse with Node Slices and Distkeys/Sortkeys, and 2) Amazon Athena: Serverless Presto/Trino SQL engine querying S3 files directly ($5.00/TB scanned).
- Amazon Athena provides the exact same serverless $5/TB pay-per-query model over S3 Parquet as BigQuery.
- Amazon Redshift RA3 instances decouple compute from storage while providing predictable sub-second query performance.
- Redshift Spectrum allows MPP clusters to query open S3 data lake files directly.
2. Interactive Terminology & Concept Bridge
Interactive Concept Bridge: Terminology & Architectural Mapping
Click any concept below to see how your GCP knowledge directly maps into AWS.
BigQuery On-Demand ($5.00 / TB)
Pay-as-you-go query billing scanning columnar Capacitor format.
Amazon Athena ($5.00 / TB)
Serverless Presto/Trino SQL engine querying S3 Parquet/ORC directly.
Exact 1-to-1 match: both charge $5.00 per TB scanned with $0.00 idle compute charges.
3. Visual Architecture Pipeline (Amazon Redshift & Amazon Athena)
Amazon Redshift 3-Stage Architecture: S3 Lake Ingress ➔ Leader/Slices MPP ➔ BI Serving
Click any section below or run the simulation to explore Redshift DISTKEY sharding and S3 Spectrum.
2. Leader Node & Slice Sharding Engine
The Leader Node compiles SQL into optimized C++ execution code. Compute Nodes execute tasks across dedicated Slices. Tables are sharded by `DISTKEY` to achieve local zero-network-shuffle joins, and indexed by `SORTKEY` zone maps.
“Like a head chef (Leader) giving dedicated sous-chefs (Slices) precise ingredients so nobody has to walk across the kitchen (zero network shuffle).”
- Leader Node: Manages client connections, query parsing, and code compilation.
- `DISTSTYLE KEY`: Shards rows to slices based on join keys for co-located local joins.
- `SORTKEY`: Creates 1MB zone-map block metadata (min/max) to skip scanning irrelevant data.
4. Side-by-Side Code, CLI & Terraform Translator
Side-by-Side Code & Syntax Translator
-- Google Cloud BigQuery
SELECT
region,
SUM(amount) AS total_revenue
FROM `my-gcp-project.analytics.external_orders`
WHERE order_date >= '2026-01-01'
GROUP BY region;-- Amazon Athena (Presto/Trino SQL over S3)
SELECT
region,
SUM(amount) AS total_revenue
FROM "analytics_db"."s3_external_orders"
WHERE order_date >= '2026-01-01'
GROUP BY region;5. Paradigm Shift Gotchas: Traps to Avoid in AWS
Provisioned Redshift Idle Billing
Coming from BigQuery's $0 idle cost, provisioning an `ra3.4xlarge` Redshift cluster and leaving it running unused will cost thousands of dollars per month.
Use **Amazon Athena** or **Amazon Redshift Serverless (RPUs)** for workloads with variable traffic.
Redshift Table Bloat & VACUUM Maintenance
In BigQuery, storage reorganization is automatic. In provisioned Redshift, heavy updates/deletes cause table bloat and degrade performance until `VACUUM` and `ANALYZE` run.
Enable Redshift Auto-Vacuum, or use modern Redshift RA3 / Serverless clusters.
6. Test Your Mental Model
Quick Knowledge Check: Test Your AWS Mental Model
Solidify your cross-cloud understanding with instant feedback.