IoTDB Performance Tuning¶
Scenario¶
You can increase IoTDB memory to improve IoTDB performance because read and write operations are performed in HBase memory.
Configuration¶
Log in to Manager, choose Cluster > Services > IoTDB, and click the Configurations tab and then All Configurations. Search the parameters and modify their values.
For details, see Table 1.
Parameter | Description | Default Value | Optimization Suggestion |
---|---|---|---|
SSL_ENABLE | Whether to encrypt the channel between the client and server using SSL | true | true indicates that SSL encryption is enabled, and false indicates that SSL encryption is disabled. Data encryption and decryption during transmission have a great impact on performance. The test result shows that the performance gap is 200%. Therefore, you are advised to disable SSL encryption during the performance test. The parameter for the ConfigNode and IoTDBServer roles must be both modified. |
iotdb_server_kerberos_qop | Encrypted data transmission of each IoTDBServer instance in the cluster | auth-int | auth-int indicates that data transmission is encrypted, and auth indicates that data is authenticated only without being encrypted. Therefore, you are advised to set this parameter to auth. The parameter for the ConfigNode and IoTDBServer roles must be both modified. |
GC_OPTS | Memory and garbage collection (GC) configuration parameters used by IoTDBServer | -Xms2G -Xmx2G -XX:MaxDirectMemorySize=512M -XX:+UseG1GC -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M -Djdk.tls.ephemeralDHKeySize=3072 (set this parameter as required.) |
|
write_read_schema_free_memory_proportion | Memory allocation ratio: write, read, schema, and free | 4:3:1:2 | You can adjust the memory based on the load.
|