Skip to content

Commit abfb688

Browse files
authored
The simplified calculation formula for storage space is missing a division of 4 by 1024 (#489)
1 parent adfd778 commit abfb688

File tree

18 files changed

+38
-34
lines changed

18 files changed

+38
-34
lines changed

src/UserGuide/Master/Table/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
186186
</table>
187187

188188
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.
189-
- 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
190-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
189+
- 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
190+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
191191
### Storage Configuration
192192
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
193193
## Network (Network card)

src/UserGuide/Master/Tree/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
186186
</table>
187187

188188
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.
189-
- 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
190-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
189+
- 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
190+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
191191
### Storage Configuration
192192
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
193193
## Network (Network card)

src/UserGuide/V1.0.x/Cluster/Deployment-Recommendation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r
121121

122122

123123
> 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
124-
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
124+
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
125+
> * 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
125126
126127
##### Schema storage size
127128

src/UserGuide/V1.1.x/Cluster/Deployment-Recommendation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r
119119

120120

121121
> 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
122-
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
122+
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
123+
> * 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
123124
124125
##### Schema storage size
125126

src/UserGuide/V1.2.x/Deployment-and-Maintenance/Deployment-Recommendation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ Series number * Sampling frequency * Data point size * Storage duration * data_r
119119

120120

121121
> 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
122-
> Data storage size = 1000 * 100 * 12 * 86400 * 365 * 3 / 10 = 11T
122+
> * Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 = 11T
123+
> * 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
123124
124125
##### Schema storage size
125126

src/UserGuide/V1.3.0-2/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
189189
</table>
190190

191191
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.
192-
- 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
193-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
192+
- 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
193+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
194194
### Storage Configuration
195195
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
196196
## Network (Network card)

src/UserGuide/V2.0.1/Table/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
186186
</table>
187187

188188
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.
189-
- 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
190-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
189+
- 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
190+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
191191
### Storage Configuration
192192
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
193193
## Network (Network card)

src/UserGuide/V2.0.1/Tree/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
186186
</table>
187187

188188
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.
189-
- 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
190-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
189+
- 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
190+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
191+
191192
### Storage Configuration
192193
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
193194
## Network (Network card)

src/UserGuide/latest/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ Calculation formula: Number of measurement points * Sampling frequency (Hz) * Si
186186
</table>
187187

188188
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.
189-
- 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
190-
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3/10=11T
189+
- 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
190+
- Simplified calculation formula: 1000 * 100 * 12 * 86400 * 365 * 3 / 10 / 1024 / 1024 / 1024 / 1024 =11T
191191
### Storage Configuration
192192
If the number of nodes is over 10000000 or the query load is high, it is recommended to configure SSD
193193
## Network (Network card)

src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Database-Resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@
185185
</table>
186186

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

0 commit comments

Comments
 (0)