Automatisierung von Datenpipelines in Snowflake
Emily Melhuish
Technical Curriculum Developer, Snowflake


Zugriff über: Monitoring > Query History > [Query wählen] > Tab Query Profile

Explodierende Joins
Union ohne ALL
UNION ein Aggregate ein, um Duplikate zu entfernenSpill auf Platte
Ineffizientes Pruning
Diagnose-Query
SELECT
query_id,
bytes_spilled_to_local_storage,
bytes_spilled_to_remote_storage
FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY
WHERE bytes_spilled_to_remote_storage > 0
ORDER BY bytes_spilled_to_remote_storage DESC
LIMIT 10;
ACCOUNT_USAGE.QUERY_HISTORY – View mit 365 Tagen AufbewahrungINFORMATION_SCHEMA.QUERY_HISTORY() Table Function mit 7 Tagen Aufbewahrung

Automatisierung von Datenpipelines in Snowflake