Skip to content

Commit

Permalink
The simplified calculation formula for storage space is missing a div…
Browse files Browse the repository at this point in the history
…ision of 4 by 1024
  • Loading branch information
W1y1r committed Dec 23, 2024
1 parent 5398ee2 commit c5c145b
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
3 changes: 2 additions & 1 deletion src/UserGuide/V1.0.x/Cluster/Deployment-Recommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r


> Example: 1000 devices, 100 sensors for one device, 100,000 series total, INT32 data type, 1Hz sampling frequency, 1 year storage duration, 3 replicas, compression ratio is 10
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 = 11T
##### Schema storage size

Expand Down
3 changes: 2 additions & 1 deletion src/UserGuide/V1.1.x/Cluster/Deployment-Recommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r


> Example: 1000 devices, 100 sensors for one device, 100,000 series total, INT32 data type, 1Hz sampling frequency, 1 year storage duration, 3 replicas, compression ratio is 10
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 = 11T
##### Schema storage size

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r


> Example: 1000 devices, 100 sensors for one device, 100,000 series total, INT32 data type, 1Hz sampling frequency, 1 year storage duration, 3 replicas, compression ratio is 10
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 = 11T
##### Schema storage size

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T

### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
</table>

Example: 1000 devices, each with 100 measurement points, a total of 100000 sequences, INT32 type. Sampling frequency 1Hz (once per second), storage for 1 year, 3 copies.
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies/10 compression ratio=11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
- Complete calculation formula: 1000 devices * 100 measurement points * 12 bytes per data point * 86400 seconds per day * 365 days per year * 3 copies / 10 compression ratio / 1024 / 1024 / 1024 / 1024 =11T
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
### Storage Configuration
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
## Network (Network card)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
</table>

示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@
</table>

示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T

### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/V1.0.x/Cluster/Deployment-Recommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ IoTDB 存储空间=数据存储空间 + 元数据存储空间 + 临时存储空


> 示例:1000设备,每个设备100 测点,共 100000 序列。整型。采样频率1Hz(每秒一次),存储1年,3副本,压缩比按 10 算,则数据存储空间占用:
> * 简版:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * 完整版:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本 / 10压缩比 = 11T
> * 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
##### 元数据磁盘空间

Expand Down
5 changes: 2 additions & 3 deletions src/zh/UserGuide/V1.1.x/Cluster/Deployment-Recommendation.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ IoTDB 存储空间=数据存储空间 + 元数据存储空间 + 临时存储空


> 示例:1000设备,每个设备100 测点,共 100000 序列。整型。采样频率1Hz(每秒一次),存储1年,3副本,压缩比按 10 算,则数据存储空间占用:
> * 简版:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * 完整版:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本 / 10压缩比 = 11T
> * 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
###### 元数据磁盘空间

每条序列在磁盘日志文件中大约占用 序列字符数 + 20 字节。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ IoTDB 存储空间=数据存储空间 + 元数据存储空间 + 临时存储空


> 示例:1000设备,每个设备100 测点,共 100000 序列。整型。采样频率1Hz(每秒一次),存储1年,3副本,压缩比按 10 算,则数据存储空间占用:
> * 简版:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
> * 完整版:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本 / 10压缩比 = 11T
> * 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
> * 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
##### 元数据磁盘空间

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@


示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
</table>

示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
</table>

示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
</table>

示例:1000设备,每个设备100 测点,共 100000 序列,INT32 类型。采样频率1Hz(每秒一次),存储1年,3副本。
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比=11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
- 完整计算公式:1000设备 * 100测点 * 12字节每数据点 * 86400秒每天 * 365天每年 * 3副本/10压缩比 / 1024 / 1024 / 1024 / 1024 =11T
- 简版计算公式:1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
### 存储配置
1000w 点位以上或查询负载较大,推荐配置 SSD。
## 网络(网卡)
Expand Down

0 comments on commit c5c145b

Please sign in to comment.