Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Configuring IoTDB Parameters

Updated on 2024-11-29 GMT+08:00

Scenario

IoTDB uses the multi-replica deployment architecture to implement cluster high availability. Each region (DataRegion and SchemaRegion) has three replicas by default. You can also configure more replicas. If a node is faulty, replicas on other nodes of the region replica can take over services from the faulty node, ensuring service continuity and improving cluster stability.

Procedure

  1. Log in to FusionInsight Manager and choose Cluster > Services > IoTDB. Click Configurations then All Configurations.
  2. Enter a parameter name in the search box in the upper right corner and change the parameter value. Table 1 describes common IoTDB parameters.

    Table 1 Common parameters

    Parameter

    Role

    Default Value

    Description

    schema_replication_factor

    ConfigNode

    3

    Number of SchemaRegion replicas. The default value is 3. This parameter can be modified only when the service is installed.

    data_replication_factor

    ConfigNode

    3

    Number of DataRegion replicas. The default value is 3. This parameter can be modified only when the service is installed.

    region_data_lost_proportion

    ConfigNode

    0.5

    Region data supplementation starts when the lost data reaches the threshold (50% by default).

    region_repair_data_volume

    ConfigNode

    10

    If the data volume in a region exceeds the threshold, the system automatically rectifies the fault. The default value is 10 GB.

    dest_datanode_remaining_disk_space_proportion

    ConfigNode

    0.7

    Percentage of the region data volume to the remaining disk space of the target DataNode when region replicas are supplemented. The default value is 70%.

    read_consistency_level

    ConfigNode

    strong

    Read consistency level. Currently, the value can only be strong or weak.

    • strong: strong data consistency
    • weak: weak data consistency

    flush_proportion

    IoTDBServer

    0.4

    Write memory ratio for invoking disk flushing. If the write load is too high (for example, batch processing = 1000), you can reduce the value.

    replica_affinity_policy

    IoTDBServer

    random

    The policy for selecting a region replica node for a query task when read_consistency_level is set to weak. That is, whether a local node is selected or a node is randomly selected from the current cluster.

    • random: a node is randomly selected from the current cluster.
    • local: a local node is selected.

    coordinator_read_executor_size

    IoTDBServer

    20

    Sets the number of read thread cores of IoTDBServer Coordinator.

    Click IoTDBServer(Role), select Customization, and add the coordinator_read_executor_size parameter and its value to the customized parameter engine.customized.configs.

    rpc_thrift_compression_enable

    ALL

    false

    Whether to enable the RPC Thrift compression function during data transmission. Data is not compressed by default.

    • true: Enable the function.
    • false: Disable the function.

    root.log.level

    ALL

    INFO

    IoTDB log level. The modification of this parameter takes effect without restarting related instances. Log levels include DEBUG, INFO, WARN, ERROR, and OFF.

    SSL_ENABLE

    ALL

    true

    Whether to encrypt the channel between the client and server using SSL

    • true: SSL encryption is enabled.
    • false: SSL encryption is disabled.
    NOTICE:

    For clusters with Kerberos authentication enabled (security mode), SSL encryption is enabled by default. For clusters with Kerberos authentication disabled (normal mode), SSL encryption is disabled by default. Disabling SSL encryption is a high-risk operation. Data may be intercepted, which poses security risks. Exercise caution when performing this operation.

  3. Click Save.
  4. Click the Instance tab. Select the corresponding instance and choose More > Restart Instance to make the configuration take effect.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback