Where is metadata stored in Snowflake, and how is it managed by the cloud services layer?

Quick Overview

Asks where Snowflake keeps its metadata and how the cloud services layer maintains and uses it. Tests understanding of micro-partition statistics, table versions behind Time Travel and cloning, query pruning, and how the layer is operated and billed.

Where is metadata stored in Snowflake, and how is it managed by the cloud services layer?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

Where is metadata stored in Snowflake, and how is it managed by the cloud services layer? ```hint Before the first file is read List what Snowflake has to know before a virtual warehouse reads any data: where the data lives, what each file contains, and who is allowed to see it. ``` ```hint Immutable files Micro-partitions are never modified in place. Follow what has to change in the metadata when an UPDATE touches a few rows. ``` ### What a Strong Answer Covers - Which layer holds the metadata and how that layer is separated from storage and compute. - The kinds of metadata kept, from micro-partition statistics to access control and table versions. - How the metadata is used while a query runs, including partition pruning and queries answered without reading data. - How the layer is operated and billed, and how users can read the metadata themselves. ### Follow-up Questions - What happens in the metadata when you run an UPDATE on a few rows of a large table? - Why can `SHOW TABLES` or `SELECT COUNT(*) FROM t` return without a running warehouse? - When would you query `INFORMATION_SCHEMA` and when `SNOWFLAKE.ACCOUNT_USAGE`? - A date filter barely reduces the partitions scanned on one of your tables. What would you look at?

Overview: Asks where Snowflake keeps its metadata and how the cloud services layer maintains and uses it. Tests understanding of micro-partition statistics, table versions behind Time Travel and cloning, query pruning, and how the layer is operated and billed.

General logo
General
Nov 24, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

Where is metadata stored in Snowflake, and how is it managed by the cloud services layer?

What a Strong Answer Covers Guidance

  • Which layer holds the metadata and how that layer is separated from storage and compute.
  • The kinds of metadata kept, from micro-partition statistics to access control and table versions.
  • How the metadata is used while a query runs, including partition pruning and queries answered without reading data.
  • How the layer is operated and billed, and how users can read the metadata themselves.

Follow-up Questions Guidance

  • What happens in the metadata when you run an UPDATE on a few rows of a large table?
  • Why can SHOW TABLES or SELECT COUNT(*) FROM t return without a running warehouse?
  • When would you query INFORMATION_SCHEMA and when SNOWFLAKE.ACCOUNT_USAGE ?
  • A date filter barely reduces the partitions scanned on one of your tables. What would you look at?