From bf84969dfb03740917f0ae82011ae6f2c197dcb5 Mon Sep 17 00:00:00 2001 From: Dorota Wojcik Date: Tue, 12 Nov 2024 11:59:54 +0100 Subject: [PATCH] feedback --- .../includes/clickhouse-storage-limitation.md | 35 ++++++++++++++----- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/static/includes/clickhouse-storage-limitation.md b/static/includes/clickhouse-storage-limitation.md index ae7fffc4..941834cd 100644 --- a/static/includes/clickhouse-storage-limitation.md +++ b/static/includes/clickhouse-storage-limitation.md @@ -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. + :::