Snowflake Zero to Hero Series | Part 16 - Snowpipe Auto Ingestion | Continuous Batch Load in Snowflake 🌨️
Welcome back everyone to the Snowflake Zero to Hero series!
In Part 16, we're diving deep into Snowpipe Auto Ingest for continuous batch loading in Snowflake.
Snowpipe enables loading data from files as soon as they’re available in a stage, making it available to users within minutes, rather than manually executing COPY statements on a schedule to load larger batches.
🔹 What You’ll Learn:
1-What is Snowpipe & Usage
2-Step-by-step configuration of Snowpipe Auto Ingest
3- Understanding Pipes and how they automate data ingestion
4-How to check Pipe Usage using the PIPE_USAGE_HISTORY function
5-Analyzing Copy History for data loads with ease
This video will give you the confidence to work with Snowpipe and efficiently handle continuous data loads.
📌 Key Concepts Covered:
Snowpipe Auto Ingest Setup
Monitoring Snowpipe Activities
Tracking Ingestion History
Advanced Snowflake Functions: PIPE_USAGE_HISTORY, COPY_HISTORY, and more!
Scripts :
CREATE PIPE AWSPIPE
AUTO_INGEST=TRUE
AS
COPY INTO AWS_CUSTOMERLOAD
FROM @S3_STAGE;
SHOW PIPES;
Select count(*) from AWS_CUSTOMERLOAD;
Select SYSTEM$PIPE_STATUS('AWSPIPE');
select * from AWS_CUSTOMERLOAD;
--How to check pipe history failed or success
Select * from SNOWFLAKE.ACCOUNT_USAGE.COPY_HISTORY where PIPE_NAME='AWSPIPE';
--- How to check credits used for any Snowpipe
select *
from table(information_schema.pipe_usage_history(
pass time & pipe_name));