This tool calculates the minimum memory for writing to meet specific workload through a number of parameters input by users. (Memory in IoTDB is divided into three parts: write memory, read memory and reserve memory. Write memory is used for data write allocation. The ratio of the three can be set in the configuration file) The unit of result is in GB.
When using this tool, the parameters needed to be input are as follows:
In memory estimation, if the calculation takes a long time, the tool will show the running progress below, which is convenient for users to master the progress.
Users can use the tool using scripts under the IOTDB_HOME/binfolder. For Linux and Mac OS X users:
Shell >$IOTDB_HOME/bin/memory-tool.sh calmem -sg 20 -ts 100000
Shell >$IOTDB_HOME/bin/memory-tool.sh calmem -sg 20 -ts 100000 -mts -50000
For Windows users:
Shell >$IOTDB_HOME\bin\memory-tool.bat calmem -sg 20 -ts 100000
Shell >$IOTDB_HOME\bin\memory-tool.bat calmem -sg 20 -ts 100000 -mts -50000