pingcap / pingcap/tidb

support paging for TiDB coptask

Open
#60,072 1 comment 0 reactions 1 assignee Claimed by @tiancaiamao View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.