Snowflake - SnowPro Associate Platform Study Guide

    4: Data Protection and Data Sharing

    This chapter covers the two data-protection mechanisms that distinguish Snowflake from operational database systems, Time Travel and zero-copy cloning, plus the two collaboration surfaces that move data between accounts without copying, the Snowflake Marketplace and the Snowflake Data Exchange. The discussion grounds every concept in the SQL syntax, retention windows, and edition gates that appear on the SnowPro Associate: Platform exam.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Describe continuous data protection features, including Time Travel (AT and BEFORE clauses, UNDROP, and DATA_RETENTION_TIME_IN_DAYS configuration)
    • Use zero-copy cloning to create copies of tables, schemas, and databases (CREATE TABLE / SCHEMA / DATABASE ... CLONE)
    • Describe Snowflake data sharing capabilities, including Snowflake Marketplace (search public listings, request access, and consume shared data without copying)
    • Describe the Snowflake Data Exchange and the use of private listings within a customer's own Exchange

    Executive Summary

    • Time Travel queries any object at a past timestamp, offset, or statement within the retention window, and UNDROP restores dropped tables, schemas, and databases as long as the parent object still exists and the window has not expired.
    • DATA_RETENTION_TIME_IN_DAYS is set per object and inherits from the parent if not specified, with a Standard edition ceiling of 1 day and an Enterprise edition ceiling of 90 days on permanent tables.
    • Zero-copy cloning creates a new object that shares micro-partitions with the source, charges no additional storage until the clone or source diverges, and works at table, schema, and database granularity with full Time Travel reference at the point of clone.
    • The Snowflake Marketplace publishes Listings backed by Secure Data Sharing so consumers query a provider's data in place, with no copy and no replication when the consumer account is in the same region as the provider.
    • A Data Exchange is a private, customer-administered Marketplace that hosts internal Listings between business units or curated partners, with the same read-only Secure Data Sharing mechanics as the public Marketplace.

    Assumptions

    • Roles, privileges, and the USAGE chain from the previous chapter are available without re-introduction.
    • Stage families, file formats, and warehouse sizing from the previous chapter are referenced by name when relevant.
    • All SQL syntax follows Snowflake SQL conventions, with object identifiers shown in lowercase and reserved tokens in uppercase.
    • The reader has already provisioned a sample database analytics_db and schema analytics_db.public in their own sandbox.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account