-[Chapter 7: System Tools](#chapter-7-system-tools)
-[Data Import](#data-import)
-[Introduction](#introduction)
-[Configuration](#configuration)
-[Sync Receiver](#sync-receiver)
-[Sync Sender](#sync-sender)
-[Usage](#usage)
-[Start Sync Receiver](#start-sync-receiver)
-[Stop Sync Receiver](#stop-sync-receiver)
-[Start Sync Sender](#start-sync-sender)
-[Stop Sync Sender](#stop-sync-sender)
<!-- /TOC -->
# Introduction
...
...
@@ -54,7 +58,7 @@ The parameter configuration of the sync receiver is located in the configuration
</tr>
<tr>
<tdwidth="30%">Description</td>
<td>Sync function switch, which is configured as true to indicate that the receiver is allowed to receive the data from sender and load it. When set to false, it means that the receiver is not allowed to receive the data from any sender.</td>
<td>Sync function switch, which is configured as true to indicate that the receiver is allowed to receive the data from the sender and load it. When set to false, it means that the receiver is not allowed to receive the data from any sender. </td>
</tr>
<tr>
<td>Type</td>
...
...
@@ -140,7 +144,7 @@ The parameter configuration of the sync receiver is located in the configuration
</table>
## Sync Sender
The parameters of the sync sender are configured in a separate configuration file iotdb-postbackClient.pro-perties with the installation directory of ```$IOTDB_HOME/conf/iotdb-sync-client.properties```. In this configuration file, there are five parameters related to the sync sender. The configuration instructions are as follows:
The parameters of the sync sender are configured in a separate configuration file iotdb-sync-client.properties with the installation directory of ```$IOTDB_HOME/conf/iotdb-sync-client.properties```. In this configuration file, there are five parameters related to the sync sender. The configuration instructions are as follows:
<table>
<tr>
<tdcolspan="2">parameter: server_ip</td>
...
...
@@ -257,7 +261,7 @@ Stop IoTDB and the sync receiver will be closed at the same time.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Memory Estimation Tool
# Introduction
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.
# Input parameters
When using this tool, the parameters needed to be input are as follows:
<table>
<tr>
<td>Parameter</td>
<td>Parameter Description</td>
<td>Example</td>
<td>Necessary</td>
</tr>
<tr>
<td>-sg | --storagegroup <storage group number></td>
<td>maximum number of timeseries among storage groups.If the time series are evenly distributed in the storage group, this parameter may not be set.</td>
<td>-mts 10000</td>
<td>false</td>
</tr>
</table>
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.
# Usage
Users can use the tool using scripts under the ``IOTDB_HOME/bin`folder.
For Linux and Mac OS X users:
* Assume that there are 20 storage groups, 10w timeseries and timeseries are evenly distributed in the storage groups: