From 963be30e7723baedce6c2e24a4fbd2e220918b1d Mon Sep 17 00:00:00 2001 From: Ewan Chou Date: Fri, 13 Jul 2018 19:22:24 +0800 Subject: [PATCH] remove plan cache in config file (#538) --- op-guide/tidb-config-file.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/op-guide/tidb-config-file.md b/op-guide/tidb-config-file.md index 82b9cd3ff2cb9..a95d634e402d7 100644 --- a/op-guide/tidb-config-file.md +++ b/op-guide/tidb-config-file.md @@ -175,27 +175,6 @@ Configuration about performance. - Default: 0 - TiDB collects the feedback of each query at the probability of `feedback-probability`, to update statistics -## Plan Cache - -Configuration about Plan Cache. - -### `enabled` - -- To enable Plan Cache -- Default: false -- Enabling Plan Cache saves the query optimization overhead of the same SQL statement - -### `capacity` - -- The number of cached statements -- Default: 2560 - -### `shards` - -- The number of plan-cache buckets -- Default: 256 -- A larger number indicates a smaller particle size of the lock - ## prepared-plan-cache The Plan Cache configuration of the `prepare` statement.