Updated on 2025-08-21 GMT+08:00
Performance Tuning
Setting Synchronization Task Parameters
- max_full_sync_task_threads_num: number of full synchronization threads. By default, it is set to half of the vCPUs on FE nodes. Increasing this value will make full synchronization faster, but more vCPUs and memory of OLTP and OLAP will be consumed. Set an appropriate value for this parameter based on the system load when executing a full synchronization task. If multiple full synchronization tasks are executed at the same time, decrease this parameter value.
- max_incremental_sync_task_threads_num: number of incremental synchronization threads. By default, it is set to half of the vCPUs on FE nodes. A larger value indicates that more threads are used for incremental synchronization, more resources are consumed, and the synchronization latency is shorter. If there are more than five synchronization tasks on an instance, reduce the number of synchronization threads for each task.
- expect_tablet_size: expected size of source data stored in each bucket, in GB. The default value is 3. If most tables in a database have less than 3 GB of data and there are only a few tables with more data, decrease this value.
- expect_tablet_num_for_one_partition: expected default number of buckets in each partition. If this parameter is set to 0, the number of buckets is calculated based on the data size. The default value is 2. If there is no data in a table, this default value will be used. If there is data in a table, the number of buckets is calculated as follows: Data size/Value of expect_tablet_size. If a partition key is specified for table synchronization, you need to evaluate the number of buckets required for data in each partition. The number of buckets for a table is calculated as follows: Number of partitions x Number of buckets in each partition.
Improving Query Performance
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot