Skip to content

Commit

Permalink
remove plan cache in config file (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
coocood committed Jul 13, 2018
1 parent 17b6dfa commit 963be30
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions op-guide/tidb-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 963be30

Please sign in to comment.