Add descriptions of new panels and update the plan cache doc#11799
Add descriptions of new panels and update the plan cache doc#11799ti-chi-bot merged 7 commits intopingcap:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/cc @qw4990 PTAL |
|
@fzzf678: GitHub didn't allow me to request PR reviews from the following users: PTAL. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Co-authored-by: Aolin <aolinz@outlook.com>
sql-prepared-plan-cache.md
Outdated
| 比如目前 TiDB 实例的 `SESSION` 并发数是 50,平均每个 `SESSION` 大致缓存 100 个计划,则总内存开销为 `50 * 100 * 100KiB` 约等于 `512MB`。 | ||
| > **注意:** | ||
| > | ||
| > 考虑到 Golang 的内存回收机制以及部分未统计的内存结构,Grafana 中显示的内存与实际的堆内存使用量并不相等。经过实验验证存在约 X0% 的误差。 |
There was a problem hiding this comment.
这边测好了么,目前应该大概是 20%?
目前的用的case测出来最高是20%多
|
/hold |
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: fzzf678 <108643977+fzzf678@users.noreply.github.com>
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: de4b367 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Plan Cache Memory UsageandPlan Cache Plan NumWhich TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
planner: add monitor for prepared plan cache memory usage tidb#38507
Do your changes match any of the following descriptions?