-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TiDB supports plan cache for the partitioned tables #19227
Comments
Hi @choudharypankaj, thanks for the feedback! According to the doc update PR https://github.com/pingcap/docs/pull/16359/files of this feature, before v8.0.0, neither @mjonss, please help confirm. Thanks. |
@qiancai, I confirm that One of the reasons for introducing the @choudharypankaj I do see that the statement seems to be a bit out of context, maybe we should move it further up under the |
@mjonss Thanks for the update. https://docs.pingcap.com/tidb/stable/system-variables#tidb_partition_prune_mode-new-in-v51 |
@choudharypankaj IIRC, once there are Global statistics on a partitioned table, it can use dynamic prune mode, even after add/drop/reorganize partitions, just that the statistics may be outdated in case of DROP PARTITION. |
File: /release-8.1/partitioned-table.md
This statement needs to be removed.:
Currently, static pruning mode does not support plan cache for both prepared and non-prepared statements.
From the DMR 8.0 release:
Remove some limitations on execution plan cache #49161 @mjonss @qw4990
TiDB supports plan cache, which can effectively reduce the latency of OLTP systems and is important for performance.
The text was updated successfully, but these errors were encountered: