Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 慢日志getBatchLogForReversedScan的作用
【TiDB Usage Environment】Production Environment
【TiDB Version】5.2.1
【Problem Description and Impact】
Is the function of the getBatchLogForReversedScan method in slow_query.go to read previous slow log files?
【Attachment】
Not only the past ones, but also the ones happening now will be read in.
Refer to the description of the test code
I have a question, why do we need to read out the historical slow log files?
There is a historical statistical diagnostic information, which includes some characteristics and information of the historical slow logs.
This topic was automatically closed 60 days after the last reply. No new replies are allowed.