pingcap / pingcap/tidb

support the variable of `tidb_default_auto_id_cache`

Open
#63,231 1 comment 0 reactions 0 assignees View on GitHub
contribution first-time-contributor type/feature-request
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Feature Request

My application originally used a MySQL database, and a large amount of business logic in the application relied on continuous and auto-incrementing primary keys.
Since the default value of TiDB AUTO_ID_CACHE is not 1, I need to modify the business logic or create table statements.
However, since a large number of applications are involved, modifying the business logic or creating table statements is difficult to execute. Therefore, I hope to add a system variable to set the default value of AUTO_ID_CACHE

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.