create a table in clickhouse create a prepared statement from a concatenated insert string containing the table name add multiple values to the prepared statement in a batch use executeLargeBatch ...