Remove static prune
mode for partition table
#56490
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
(Planned to achieve after the v9.1 branch is created)
Is your feature request related to a problem? Please describe:
static prune
mode encountered many issues previously, and its presence offered no benefits, so we can consider removing it. The issue lists shown below, but not limited to this:static prune
mode has many related codes and test cases in TiDB repo. After removing those codes, it could make repo cleaner.dynamic prune
mode already became the default mode since v6.5, which I think is enough to prove its stability.Describe the feature you'd like:
static prune
related codes.tidb_partition_prune_mode
session variable and always set it todynamic
.Describe alternatives you've considered:
None
Teachability, Documentation, Adoption, Migration Strategy:
Need remove
static prune
related docs, I haven't thought of anything else yet.Because there are many related codes, maybe we could split this issue to some PRs, including but not limited to the ones listed below
tidb_partition_prune_mode
always set todynamic
analyze
pkgSome issues can close after this PR finish:
PartitionUnion
is not supported bytidb_decode_plan
#27241The text was updated successfully, but these errors were encountered: