Snowflake Data Cloud (50 Qs)•Part 3: Advanced Optimization, Scale & Cortex AI (25 - 35)
Snowpipe vs Bulk `COPY INTO`: Serverless continuous ingestion vs scheduled batch loading.
senior LevelPerformancePipes
In Simple Words:
- Bulk
COPY INTO: Requires an active Virtual Warehouse. Best for scheduled, periodic batch loading (e.g. hourly or nightly ingestion of gigabytes of Parquet/CSV files). - Snowpipe: Serverless continuous event-driven ingestion:
- Cloud storage (AWS S3 / GCS) emits an event notification (SNS/SQS) when a new file lands.
- Snowpipe consumes the event and loads data into Snowflake micro-partitions within seconds.
- Billed per file and second using serverless compute without needing a running virtual warehouse.