⚡THE SHORT ANSWER
Because on-demand cloud data warehouses bill directly by terabytes scanned ($6.25/TB on BigQuery); querying a 50TB table without column selection or date partition filters scans the entire dataset.
Engineering Handbook & Failure Dynamics
6-Dimensional Architecture Breakdown⚙️1. Underlying Mechanism
Execution🎯2. Appropriate Use Context
Scope⚠️3. Production Failure Modes
P0 Risk📡4. Diagnostic Signals & Telemetry
Telemetry🛡️5. Prevention & Safeguards
Safeguards⚖️6. Architectural Trade-offs
Trade-offCase Study (TinyCTO In-Field Example)
A data team partitioned their 120TB analytics events table by event_date and clustered by user_id. Average daily dashboard scan costs dropped from 1,200/day to 18/day.
Interactive Concept Drills
3 CardsWhy is `SELECT *` considered a severe anti-pattern in columnar data warehouses?
What is Table Partitioning in BigQuery/Snowflake?
What is the `maximum_bytes_billed` setting in BigQuery?
BigQuery & Snowflake Metering Traps — Technical FAQ
Does using `LIMIT 10` reduce the bytes scanned in BigQuery?
No, `LIMIT` only restricts displayed output rows; the underlying engine still scans the full column data.
What is Snowflake Virtual Warehouse auto-suspend?
A setting that automatically shuts down compute credits when no queries are running for 60 seconds.
Should BI dashboards query raw event tables directly?
No, BI tools should query pre-aggregated, materialized rollup summary tables to minimize scan footprint.
🤖 AEO & Key Facts Summary
Key Architectural Facts
- ▸
In on-demand data warehouses, a single careless unpartitioned SQL query can easily cost more than an entire month of web server hosting.
Common Misconceptions
- ✗
Assuming
LIMIT 100makes a BigQuery SQL query cheap.
Decision & Governance Guidance
Enforce date partitioning on all tables >10GB and set a 1TB maximum_bytes_billed guardrail across all developer query consoles.
Authoritative Sources & Standards
- [DOC]Google BigQuery Best Practices: Controlling Costs— Google Cloud
