Snowplow home
Products
Solutions
Integrations Customers
Resources
Pricing Log in

What schema should I use when storing raw vs. enriched events in Snowflake?

Snowflake and Snowplow Updated

When storing Snowplow events in Snowflake:

  • Raw Events Schema: Store atomic events in Snowplow's canonical event model with fixed columns for standard properties (user_id, timestamp, event) and VARIANT columns for flexible contexts and properties
  • Enriched Events Schema: Use Snowplow's enriched schema that includes additional columns for IP geolocation, user agent parsing, campaign attribution, and custom enrichments
  • Optimization Strategy: Implement both schemas - raw events for data lineage and reprocessing, enriched events optimized for analytics with proper clustering and partitioning
  • Schema Evolution: Leverage Snowflake's schema evolution capabilities with Snowplow's Iglu schema registry to handle changes without breaking downstream processes

This dual approach provides flexibility for reprocessing while optimizing performance for analytical workloads.

More on Snowflake and Snowplow

All 31 questions on Snowflake and Snowplow

Send live customer data to your own warehouse.

Try the full product free for 14 days, on a live pipeline. No credit card or sales call.