---
title: "Supercharging your large ClickHouse data loads - Part 1: Performance and resource usage factors"
description: "ClickHouse ingest performance and resource usage for large loads into MergeTree tables are governed by three factors: insert block size, insert parallelism, and hardware size."
url: "https://swe.quest/articles/supercharging-your-large-clickhouse-data-loads-part-1-performance-and-resource-9144b512c7e0ece3"
canonical: "https://clickhouse.com/blog/supercharge-your-clickhouse-data-loads-part1"
source: "ClickHouse"
published: "2023-09-19"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 10
tags: ["analytics","performance","storage-engines","data-pipelines"]
---

# Supercharging your large ClickHouse data loads - Part 1: Performance and resource usage factors

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2023-09-19, 10 min read, Deep dive. Original: [https://clickhouse.com/blog/supercharge-your-clickhouse-data-loads-part1](https://clickhouse.com/blog/supercharge-your-clickhouse-data-loads-part1)

## Summary

ClickHouse ingest performance and resource usage for large loads into MergeTree tables are governed by three factors: insert block size, insert parallelism, and hardware size. Larger insert blocks use more memory but produce fewer initial parts and so fewer background merges. Block size is controlled by min\_insert\_block\_size\_rows/bytes when the server pulls data, and by max\_insert\_block\_size when clients push data or async inserts are used. Parallelism comes from max\_insert\_threads, s3/url glob reads, cluster table functions like s3Cluster, and parallel clients, while more CPU and RAM raise part size limits, parallelism and merge throughput.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Storage engines](https://swe.quest/tags/storage-engines.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- ClickHouse MergeTree basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- SQL INSERT semantics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

ClickHouse, MergeTree, ClickHouse Cloud, s3Cluster, clickhouse-client, asynchronous inserts

## Related posts

- [Supercharging your large ClickHouse data loads - Part 2: Tuning a large data load for speed](https://swe.quest/articles/supercharging-your-large-clickhouse-data-loads-part-2-tuning-a-large-data-load-646edfb3ee681d30.md): ClickHouse · 2023-10-18 · Medium · 10 min read · Analytics & OLAP, Performance engineering, Data pipelines, Scaling
  Tuning insert block size and insert parallelism lets a 65-billion-row (~14 TiB raw) PyPI load into ClickHouse run almost 3x faster than with default settings on the same hardware.
- [ClickHouse Newsletter October 2022: A cloud has arrived](https://swe.quest/articles/clickhouse-newsletter-october-2022-a-cloud-has-arrived-ea3242fdda480e88.md): ClickHouse · 2022-10-13 · Medium · 6 min read · Analytics & OLAP, Performance engineering, Cloud platforms, Vector search
  ClickHouse Cloud entered public beta, storing data on shared object storage reachable by all nodes, so users no longer configure replication, sharding or rebalancing, and storage costs less than on block storage.
- [Getting started with ClickHouse? 13 mistakes and how to avoid them](https://swe.quest/articles/getting-started-with-clickhouse-13-mistakes-and-how-to-avoid-them-0a59569ca1b71a22.md): ClickHouse · 2026-02-20 · Medium · 24 min read · Analytics & OLAP, Databases, Storage engines, Performance engineering
  ClickHouse's most common beginner mistakes mostly come from misunderstanding parts and merges.
- [Supercharging your large ClickHouse data loads - Part 3: Making a large data load resilient](https://swe.quest/articles/supercharging-your-large-clickhouse-data-loads-part-3-making-a-large-data-load-9cbef13f424019e6.md): ClickHouse · 2023-11-01 · Medium · 13 min read · Analytics & OLAP, Data pipelines, Resilience, Databases
  Multi-day loads of billions to trillions of rows into ClickHouse can survive transient failures by splitting the input into retryable tasks.
- [Top 10 best practices tips for ClickHouse](https://swe.quest/articles/top-10-best-practices-tips-for-clickhouse-4df5699bf7bd75dd.md): ClickHouse · 2026-03-26 · Medium · 21 min read · Analytics & OLAP, Performance engineering, Databases, SQL
  Ten practices for getting performance and storage efficiency out of ClickHouse, each measured on a 150M-row Amazon reviews dataset.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
