Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
wojcik-dorota committed Nov 12, 2024
1 parent 70503c0 commit bf84969
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions static/includes/clickhouse-storage-limitation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
:::note[Total storage per plan]
In service plans with a single shard, storage capacity doesn't depend on the number of
nodes, and the data of this single shard is replicated on all the available nodes.

For example, with a Startup-16 plan you get 1150 GB of total storage per VM, same as with
a Business-16 plan. Since the Business-16 plan offers three VMs, your total storage is
3450 GB, but effectively it's still 1150 GB because that’s the maximum a single node can
hold.
:::note[Total storage with a plan]

Total storage represents the maximum amount of data you can insert into a service, which
doesn't depend on the number of nodes.

The inserted data is replicated on all available nodes. How many times it's replicated
depends on the number of nodes and the number of shards: the following number
of times:

$$
number of data replication times = number of nodes / number of shards
$$

- Service plans with **one shard**

The data of a single shard is replicated on all available nodes.

For example, with the Startup-16 plan you get 1150 GB of total storage per VM, same as with
a Business-16 plan. Since the Business-16 plan offers three VMs, your total storage is
3450 GB, but effectively it's still 1150 GB because that’s the maximum a single node can
hold.

- Service plans with **two shards**

For example, the Premium-6x-16 plan has two shards and six servers, each server with
1150 GB of storage. The data you insert is replicated three times.

:::

0 comments on commit bf84969

Please sign in to comment.