support paging for TiDB coptask
Open
sig/sql-infra
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
When query `information_schema.cluster_slow_query` , if the coptask result set is big, it may OOM because TiDB coptask does not support paging. Support paging on TiDB coptask can split to multiple RPC calls to reduce the memory cost.
Contributor guide
Assessment
This issue has not been assessed yet.