获取帮助
使用Sqldiag工具前,您可以通过以下指令获取帮助。
cd src
python main.py --help
显示如下帮助信息:
usage: main.py [-h] [--train TRAIN] [--model MODEL] [--predict PREDICT]
[--ratio RATIO]
{all,train,predict}
Slow SQL Diagnose
positional arguments:
{all,train,predict} Execution style
optional arguments:
-h, --help show this help message and exit
--train TRAIN History Log Data Directory
--model MODEL Output data directory
--predict PREDICT To-be-predicted workload data directory
--ratio RATIO Ratio threshold for retrain recommend
您也可以通过工具内的Readme文件获取更加详细的帮助。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




