sessionctx: enable clustered index by default#37384
sessionctx: enable clustered index by default#37384ti-chi-bot merged 5 commits intopingcap:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
jackysp
left a comment
There was a problem hiding this comment.
Why do you change it now?
|
@jackysp It is planned in the next release. |
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/565fd446e6c93f39622695618fb6ac42a5c53b8d |
|
/run-all-tests |
|
There is a risk that TiDB does not support alter primary key yet, so if clustered index is enabled by default, users will have to rebuild the table if they find a serious hotspot problem. @tangenta |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 565fd44 |
|
/merge |
TiDB MergeCI notify✅ Well Done! New fixed [1] after this pr merged.
|
What problem does this PR solve?
Problem Summary:
The "clustered index" feature has been GA in release-5.0. We decide to change the default value of
tidb_enable_clustered_indextoON, with the following advantages:INT_ONLY, it is easier to understand for new users.What is changed and how it works?
This PR changes the default value of
tidb_enable_clustered_indextoON.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.