Make tidb_cpu usages accurate in statements_summary table
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
In #55455 , we add cpu usages info in system tables. We can try update statements_summary table's tidb_cpu usages infos only in topsql profiling goroutine, each time we collect the digest's cpu usages, then we update it.
Contributor guide
Assessment
This issue has not been assessed yet.