Skip to content

Commit

Permalink
TiDB configuration: update the default value of stmt_max_count
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 committed Aug 16, 2021
1 parent fc8169b commit b91c99c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,16 +610,16 @@ Configuration related to the status of TiDB service.

## stmt-summary <span class="version-mark">New in v3.0.4</span>

Configurations related to the `events_statement_summary_by_digest` table.
Configurations related to the `statements_summary` table.

### max-stmt-count

- The maximum number of SQL categories allowed to be saved in the `events_statement_summary_by_digest` table.
- Default value: `100`
- The maximum number of SQL categories allowed to be saved in the `statements_summary` table.
- Default value: `3000`

### max-sql-length

- The longest display length for the `DIGEST_TEXT` and `QUERY_SAMPLE_TEXT` columns in the `events_statement_summary_by_digest` table.
- The longest display length for the `DIGEST_TEXT` and `QUERY_SAMPLE_TEXT` columns in the `statements_summary` table.
- Default value: `4096`

## pessimistic-txn
Expand Down

0 comments on commit b91c99c

Please sign in to comment.