1000000 1 format_slow Pretty PrettyCompact PrettyCompactMonoBlock PrettyNoEscapes PrettySpace MySQLWire XML format_fast TabSeparated TabSeparatedRaw CSV Values Vertical JSON JSONCompact JSONEachRow JSONCompactEachRow TSKV RowBinary Native ODBCDriver2 Avro MsgPack ORC Parquet Arrow test.hits CREATE TABLE IF NOT EXISTS table_{format_slow} ENGINE = File({format_slow}, '/dev/null') AS test.hits CREATE TABLE IF NOT EXISTS table_{format_fast} ENGINE = File({format_fast}, '/dev/null') AS test.hits INSERT INTO table_{format_slow} SELECT * FROM test.hits LIMIT 10000 SETTINGS engine_file_truncate_on_insert = 1 INSERT INTO table_{format_fast} SELECT * FROM test.hits LIMIT 100000 SETTINGS engine_file_truncate_on_insert = 1 DROP TABLE IF EXISTS table_{format_slow} DROP TABLE IF EXISTS table_{format_fast}