-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
reference/configuration: update tidb-server configuration #2685
Merged
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
33cc55d
add tidb configuration
e555fad
Update reference/configuration/tidb-server/configuration-file.md
Yisaer cf9c241
revise document
2e8443f
Update configuration-file.md
ddc54fc
add period
80b4f60
address the comment
9fbaad6
Merge branch 'master' into add_tidb_configuration
Yisaer 2b481cf
Update reference/configuration/tidb-server/configuration-file.md
Yisaer 89af040
Update reference/configuration/tidb-server/configuration-file.md
Yisaer f22a1d3
Update reference/configuration/tidb-server/configuration-file.md
Yisaer 54cc841
Merge branch 'master' into add_tidb_configuration
TomShawn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,14 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/ | |
+ 默认值:`<操作系统临时文件夹>/tidb/tmp-storage` | ||
+ 此配置仅在 `oom-use-tmp-storage` 为 true 时有效。 | ||
|
||
### `temp-storage-quota` | ||
|
||
+ 当 `oom-use-tmp-storage` 开启时,对于 `tmp-storage-path` 存储使用的限额,单位为字节。 | ||
+ 当 `tmp-storage-path` 的剩余可用容量低于 `temp-storage-quota` 所定义的值时,tidb-server 启动时将会报出错误并退出。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这句可以放到最后 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated. |
||
+ 当单条 SQL 语句使用临时磁盘,导致 tidb-server 的总体临时磁盘总量超过 `temp-storage-quota` 时,将会取消当前 SQL 操作,并返回 `Out Of Global Storage Quota!` | ||
Yisaer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
+ 当 `temp-storage-quota` 小于 0 时则没有上述检查与限制。 | ||
+ 默认值: -1 | ||
|
||
### `oom-action` | ||
|
||
+ 当 TiDB 中单条 SQL 的内存使用超出 `mem-quota-query` 限制且不能再利用临时磁盘时的行为。 | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我觉得前半句不用了。 不然这句信息太多。
cc @zz-jason
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.