Skip to content

Optimize the performance of slow_query and log-search In many files scenarios #21489

@crazycs520

Description

@crazycs520

Development Task

When the tidb_slow_query.log and tidb.log files more than 1000, query CLUSTER_SLOW_QUERY and CLUSTER_LOG will be very slow. This issue uses to optimize the performance in this scenario.

Bugfix:

Performance optimization:

Metadata

Metadata

Assignees

Labels

type/bugfixThis PR fixes a bug.type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions