Updated on 2024-08-30 GMT+08:00

IoTDB Application Development Rules

Set a Proper Number of Storage Groups

A proper number of storage groups can improve performance. The system processes I/O requests first in the memory cache and then switch to the stored files or folders if no result is found. In this regard, a large number of storage groups will store too many files or folders, take up large amounts of memory, and slow down the system I/O speed as a result. A small number will reduce the concurrency and block write commands.

Set a balanced number of storage groups based on your data scale and usage scenarios to achieve better system performance.

All Time Series Must Start with root and End with the Sensor

The time series can be considered as the complete path of the sensor that generates the time series data. In IoTDB, all time series must start with root and end with the sensor.