Technical Overview Flashcards
(15 cards)
What is an account
Administrative name for a collection of compute, storage, and cloud services.
OR
an object used to manage account level settings or objects
What is an Organization
Manage Snowflake Accounts
Monitor Usage Across Accounts
Setup and administer Snowflake features that make use of multiple accounts
What are the four Table types?
Permanent - Default type and exists until dropped
Temporary - Used for transitory data like being part of an ETL process
Transient - Similar to permanent tables, but do NOT support Failsafe. Ideal for transitory data that needs to persist beyond a session.
External - Table that contains data that was queried outside of Snowflake. It is read-only and slower to access.
What are the Time Travel and FailSafe details for each Table type?
Permanent - Time Travel - 90 days; Suports Fail Safe
Temporary - Time Travel - 1 day; Does not support Fail Safe
Transient - Time Travel - 1 day; Does not support Fail Safe
External: No Time Travel; No Fail Safe
What are the types of Views in Snowflake?
Standard - Stores Query definition, not data
Materialized - Stores the results of a query definition, and periodically refreshes it
Secure - Hides query definition from unauthorized users
What are User Defined Functions (UDF)?
Schema Level Objects that allow users to write their own functions
What languages does SnowFlake support for UDFs?
SQL
JavaScript
Python
Java
What are the return types for UDFs?
Scalar - Returns on output row
Tabular (aka table function or UDTF) - Returns a table/multiple rows
What is a Stored Procedure?
A collection of SQL statements that contain procedural logic
What is an External Function?
A UDF that calls code outside of Snowflake
What are the downsides for of External functions
Scalar only
Not sharable
Less Secure
Cost - Snowflake may charge for data moved to other services or regions
What is a Sequence?
An object that generates sequential numbers automatically
What is a Task?
A object used to schedule the execution of a SQL statement, Store Proc, or Snowflake Script
What permissions are needed to execute or schedule a Task?
Global EXECUTE_TASK permission or ownership of the Task
What is a Stream?
An object to track DML changes ( inserts, deletes, updates…)