Internal queries didn't record `RU` usage in the slow log
Open
severity/minor
sig/sql-infra
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)
1. Mock some latency for internal sessions.
2. Read the slow log, the RU is always 0:

### 2. What did you expect to see? (Required)
The RU is not zero if the query is big
### 3. What did you see instead (Required)
The RU is always 0.
### 4. What is your TiDB version? (Required)
Contributor guide
Assessment
This issue has not been assessed yet.