tencent cloud

TDSQL Boundless

Release Notes
Product Introduction
Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
Kernel Features
Kernel Overview
Kernel Version Release Notes
Functionality Features
Performance Features
Billing
Billing Overview
Purchase Method
Pricing Details
Renewal
Overdue Payments
Refund
Getting Started
Creating an Instance
Connect to Instances
User Guide
Data Migration
Data Subscription
Instance Management
Parameter Configuration
Account Management
Security Group
Backup and Restoration
Database Auditing
Tag Management
Use Cases
Technical Evolution and Usage Practices of Online DDL
Lock Mechanism Analysis and Troubleshooting Practices
Data Intelligent Scheduling and Related Practices for Performance Optimization
TDSQL Boundless Selection Guide and Practical Tutorial
Developer Guide
Developer Guide (MySQL Compatibility Mode)
Developer Guide (HBase Compatibility Mode)
Performance Tuning
Performance Tuning Overview
SQL Tuning
DDL Tuning
Performance White Paper
Performance Overview
TPC-C Test
Sysbench Test
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Security Group APIs
Task APIs
Backup APIs
Rollback APIs
Parameter APIs
Database APIs
Data Types
Error Codes
General Reference
System Architecture
SQL Reference
Database Parameter Description
TPC-H benchmark data model reference
Error Code Information
Security and Compliance
FAQs
Agreements
Service Level Agreement
Terms of Service
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

tdsql_auto_increment_batch_size

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-03-27 17:56:26

Feature Description

tdsql_auto_increment_batch_size is used to set the number of auto-increment values fetched by SQLEngine in a single operation. The auto-increment value generation sequence is stored on storage nodes. In certain scenarios, to improve insertion performance, the system can allocate consecutive auto-increment values for multiple insert operations at once, thereby reducing the overhead of the auto-increment generator. By adjusting the tdsql_auto_increment_batch_size parameter, you can control the size of this batch allocation.
When the tdsql_auto_increment_batch_size parameter is adjusted, the following factors need to be considered:
Insertion performance: Increasing the value of the tdsql_auto_increment_batch_size parameter may improve insertion performance, especially during batch data insertion. However, excessively large values may increase the risk of auto-increment value exhaustion.
Auto-increment value exhaustion: The value of the tdsql_auto_increment_batch_size parameter should not be set too large to avoid the risk of auto-increment value exhaustion. For example, if the data type of the auto-increment column is INT, with a maximum value of 231-1, then the maximum value of the tdsql_auto_increment_batch_size parameter should be less than 231 / number of insert operations.
Monitoring and tuning: Monitor server performance metrics such as CPU utilization, memory usage, and disk I/O to determine whether adjustment of the tdsql_auto_increment_batch_size parameter is needed. If performance bottlenecks are detected, you can try adjusting this parameter to improve performance.

Attribute Description

Required
Description
Parameter Type
UINT
Default Value
100
Value Range
1 ~ 10000
Effective Scope
GLOBAL
Restart Required
No

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan