SnowFlake University - Snowflake Intro Flashcards
Databases with tables made up of rows and columns are called
RDBMS’s
Relational
Database
Management
Systems
Tables are situated within
Schemas
What are schemas?
Schemas are logical and organizational buckets/objects; a schema can have multiple tables and views.
Schemas are listed in parentheses after the table name.
Common RDBMS objects:
Tables
Views
Schemas
What are the 3 parts of Snowflake Worksheet?
- Navigational Tree Area (half of it turns to a properties panel when a table is chosen)
- SQL Entry Pane
- Result/Preview Pane
Warehouse provide…
the processing power to execute a command
To set a worksheet’s context using code, type
USE WAREHOUSE [warehouse name];
into the SQL Pane
Turning on/off the Code Highlight shortcut is….
and what does Code Highlight do?
ctrl + shift + k
It highlights the statement you click on, and only executes it.
Shortcut to running the whole SQL code is
ctrl + shift + Enter
Which editions of Snowflake has multi-cluster available?
Snowflake’s Enterprise Edition product (or above)
Sometimes a data file has values that contain quotes, apostrophes and/or commas.
These can cause problems when ingesting data. For that reason, some files will be…
formated so that fields that have string values are enclosed.
When creating a file format, where can you indicate what encloses some of the values that contain quotes, apostrophes and/or commas?
The option is called:
Field optionally enclosed by…
When creating a file format, and some of the values contain quotes, apostrophes and/or commas: what are the options to enclosing them?
- None
- Double Quote
- Single Quote
Snowflake doesn’t support other control (enclosing) character, so you must deal with them differently.
What is an ELT Process
Extract, Load, Transformation
What is considered part of the final step in the ELT Process?
Updating/changing a table( i.e. Transforming it)
What is an ETL Process
Extract, Transform, and Load
What are the names given to the two tables in an ETL process?
1st table (Extracted): Source 2nd table (Loaded): Target
What command to use in order LOAD a table?
INSERT INTO
Cleaning the data up where it already sits without moving it is called:
UPDATE in PLACE
What command to use in order EXTRACT a table?
FROM
What command to use in order TRANSFORM a table?
REPLACE
What does SQL stand for?
Structured Query Language
What SQL version Snowflake uses?
Standard SQL: ANSI 1999 and SQL: 2003 extensions
What does DML stand for and what does it allow us to do?
Data Management Language
- let users retrieve and edit data in databases
What does DDL stand for and what does it allow us to do?
Data Definition Language
- let users creat and edi database objects such as tables, indexes, and uses
Typical clauses for DML
SELECT, UPDATE, INSERT, DELETE
Typical clauses for DDL
CREATE, ALTER, DROP
What are the three layers of Snowflake architecture?
Cloud Services
Query Processing
Database Storage
What does Snowflake utilize to offer on-demand computing power?
MPP (Massively Parallel Processing) compute clusters where each node in the cluster store a portion of the entire data locally
Billing is based on
Credits (servers/cluster) consumed per second
Data loading efficiency does/doesn’t scale w/ WH size, while query efficiency does/doesn’t?
doesn’t
does
3 Layers in which data exist:
- Organizing/removing Data (DDL)
- Storing/working with Data (DML)
- Querying Data