Why is SELECT * considered a bad practice in BigQuery, especially considering its columnar storage and pricing model?

Quick Overview

Asks why selecting every column is discouraged in BigQuery, given how its columnar storage and on-demand billing work. Tests whether you understand bytes scanned, query cost and performance, and practical habits for writing cheaper, more maintainable queries.

Why is SELECT * considered a bad practice in BigQuery, especially considering its columnar storage and pricing model?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Other

Why is `SELECT *` considered a bad practice in BigQuery, especially considering its columnar storage and pricing model? ```hint Think about what gets read In a columnar store, ask which parts of a table a query has to read, and what on-demand pricing actually counts. ``` ### What a Strong Answer Covers - How columnar storage lets a query read only the columns it references - How on-demand billing turns extra columns into extra cost, and what changes under capacity pricing - The performance and maintenance costs beyond the bill - Practical alternatives and checks, including the common misconception about `LIMIT` ### Follow-up Questions - Does adding `LIMIT 10` to a `SELECT *` query reduce its cost? What does? - How would you estimate or cap the bytes a query will bill before running it? - Selecting fewer columns reduces the columns read. What reduces the rows read? - When is `SELECT *` acceptable in BigQuery?

Overview: Asks why selecting every column is discouraged in BigQuery, given how its columnar storage and on-demand billing work. Tests whether you understand bytes scanned, query cost and performance, and practical habits for writing cheaper, more maintainable queries.

Nov 25, 2026
easyData ScientistOtherData Manipulation (SQL/Python)
0
0

Why is SELECT * considered a bad practice in BigQuery, especially considering its columnar storage and pricing model?

What a Strong Answer Covers Guidance

  • How columnar storage lets a query read only the columns it references
  • How on-demand billing turns extra columns into extra cost, and what changes under capacity pricing
  • The performance and maintenance costs beyond the bill
  • Practical alternatives and checks, including the common misconception about LIMIT

Follow-up Questions Guidance

  • Does adding LIMIT 10 to a SELECT * query reduce its cost? What does?
  • How would you estimate or cap the bytes a query will bill before running it?
  • Selecting fewer columns reduces the columns read. What reduces the rows read?
  • When is SELECT * acceptable in BigQuery?