Top SQL failed to report the workload when workload is started before enabling Top SQL
Open
affects-6.0
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
affects-7.5
affects-8.1
affects-8.5
severity/major
sig/diagnosis
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
TPC-H 50, execute Q5 without TiFlash. The Q5 is just a simulation of accidentally executing a big query.
After executed for a while, enable Top SQL.
### 2. What did you expect to see? (Required)
By using Top SQL we can see that Q5 is costing a lot of resources.
### 3. What did you see instead (Required)
Top SQL does not report Q5:


### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.