[TiDB Usage Environment] Test/PoC
[TiDB Version] 7.5
[Encountered Issue: Issue Phenomenon and Impact]
When viewing the execution plan in the TiDB command line, due to the large amount of content, the display format is serialized and looks a bit messy, as shown in the screenshot below:
How to adjust the execution plan to display in one line in the command line?
For example, reading the execution plan in MySQL Workbench is more convenient:
Generally, you access it through a bastion host, which has Notepad++. When you copy it to Notepad++, it is well-organized. Moreover, analyzing the execution plan is much more convenient with these tools.
This basically meets the format display requirements, but the only regret is that when copying, you can only paste the content on the screen and cannot paste all the content at once. Only Notepad++ displays the format the same as the screenshot.
Is pager less -S still not working? Then it should be an issue with your client, such as your PuTTY or Xshell settings being too narrow. Check the settings and take a look.