News for hackers. Stuff that matters.
Re:Show HN: Turn CSV Files into SQL Statements for Quick Dat... by BohuTANG on Tuesday May 28, 2024 @09:44PM (#40507452)
Yeah. The insert statement fails when dealing with larger datasets, and the parser incurs significant overhead. The most efficient method is to use the COPY INTO command like in Databend[1] or Snowflake[2] for bulk data loading.

[1] Databend: https://docs.databend.com/guides/load-data/load-semistructur...

[2] Snowflake: https://docs.snowflake.com/en/sql-reference/sql/copy-into-ta...

[3] Data Ingestion Benchmark: https://docs.databend.com/guides/benchmark/data-ingest

There are no comments on this comment yet.