ETL, ELT and delivery frequency
ETL transforms before loading the destination; ELT loads first and transforms there. Batch, micro-batch and streaming describe how work arrives and is processed.
Understand the idea
Imagine a shop receiving orders. A nightly file is batch delivery, a five-minute group is micro-batch, and a continuing event feed is streaming. None of these choices tells you whether the data is correct or whether every update is captured.
| Concept | What it means |
|---|---|
| Extract | Read from the source. |
| Load | Land data at the destination. |
| Transform | Apply business rules and produce useful results. |
| Latency | Time between a source change and a usable result. |
A concrete example
Imagine a shop receiving orders. A nightly file is batch delivery, a five-minute group is micro-batch, and a continuing event feed is streaming. None of these choices tells you whether the data is correct or whether every update is captured.
Remember: Delivery frequency and correctness are separate decisions; define replay and deduplication explicitly.
Explain it step by step · full theory
Understand the concept
Imagine a shop receiving orders. A nightly file is batch delivery, a five-minute group is micro-batch, and a continuing event feed is streaming. None of these choices tells you whether the data is correct or whether every update is captured.
ELT is useful when raw records should remain available for replay and Snowflake does the transformations. ETL can be appropriate when sensitive fields must be removed before landing. A real design can combine both; do not treat either acronym as a quality rating.
Apply it in practice
Choose frequency from the business requirement, source capability and recovery cost. A daily finance report may not benefit from second-level delivery. Fraud decisions may need a much tighter end-to-end latency budget than a dashboard.
The following query is an example decision table, not a running pipeline. An end-to-end latency target includes extraction, queues, transformation and serving—not only the last SQL query.
Words used in this lesson
- Extract
- Read from the source.
- Load
- Land data at the destination.
- Transform
- Apply business rules and produce useful results.
- Latency
- Time between a source change and a usable result.
See how it works
Choose a step to explore the idea at your own pace.
Open the interactive explanation
ETL, ELT and delivery frequency
Understand the flow
ETL transforms before loading the destination; ELT loads first and transforms there. Batch, micro-batch and streaming describe how work arrives and is processed.
Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.
Read the complete diagram explanation
- Understand the flow
ETL transforms before loading the destination; ELT loads first and transforms there. Batch, micro-batch and streaming describe how work arrives and is processed.
- Apply the contract
Delivery frequency and correctness are separate decisions; define replay and deduplication explicitly.
Try the SQL or command
Read → predict → run in your learning environment → compare. You can also learn by reading without an account.
New to SQL? Where to run it and how to read it
A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.
- No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
- For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
- Read the entire example, including comments beginning with
--. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor. - Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
- SELECT / FROM
- Choose the values to return / identify their input.
- VALUES / COLUMN1
- VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
- AS / WITH
- AS gives a result a readable name. WITH names a temporary query step within one statement.
- NULL / ::
- NULL means missing or unknown. The :: notation converts a value to a named data type.
- Session
- One connection and its settings. Keep related transaction steps in the same session.
- Database.schema.table
- A full address for stored data. It is separate from the warehouse that processes queries.
Need the L2_OBJECTS_LAB setup? Open the first database-object lesson →
Help with common practice errors
- No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
- Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
- Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
- Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.
Before running this lesson
Manual learning exercise. Production deployment needs source-specific contracts, access controls, orchestration and operational monitoring.
ETL, ELT and delivery frequency — SQL example
Definition: ETL transforms before loading the destination; ELT loads first and transforms there. Batch, micro-batch and streaming describe how work arrives and is processed.
When to use: Follow the isolated customer-history lab in lesson order.
Example: Three candidate architectures. Explain the freshness and recovery requirements before selecting one.
SELECT * FROM VALUES ('Daily finance report','Batch'),('Near-current sales dashboard','Micro-batch'),('Continuing application events','Streaming') AS choices(USE_CASE,CANDIDATE);What to expect and why
Three candidate architectures. Explain the freshness and recovery requirements before selecting one.
Check your understanding
Choose an answer, then check your reasoning. This is practice, not a scored test.
Try it yourself
Explain with the example: Does streaming automatically mean exactly-once business processing?
Compare your reasoning
Delivery frequency and correctness are separate decisions; define replay and deduplication explicitly.