暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

华为openGauss 获取帮助-1

华为高斯 2020-06-01
1151

获取帮助

启动调优程序之前,可以通过如下命令获取帮助信息:

python main.py --help

输出帮助信息结果如下:

usage: main.py [-h] [-m {train,tune}] [-f CONFIG_FILE] [--db-name DB_NAME]
               [--db-user DB_USER] [--db-user-pwd DB_USER_PWD] [--port PORT]
               [--host HOST] [--host-user HOST_USER]
               [--host-user-pwd HOST_USER_PWD] [--host-ssh-port HOST_SSH_PORT]
               [--scenario {ap,tp,htap}] [--benchmark BENCHMARK]
               [--model-path MODEL_PATH] [-v]

X-Tuner: a self-tuning toolkit for OpenGauss.

optional arguments:
  -h, --help            show this help message and exit
  -m {train,tune}, --mode {train,tune}
                        train a reinforcement learning model or tune by your
                        trained model.
  -f CONFIG_FILE, --config-file CONFIG_FILE
                        you can pass a config file path or you should manually
                        set database information.
  --db-name DB_NAME     database name.
  --db-user DB_USER     database user name.
  --db-user-pwd DB_USER_PWD
                        database user password.
  --port PORT           database connection port.
  --host HOST           where did your database install on?
  --host-user HOST_USER
                        user name of the host where your database installed
                        on.
  --host-user-pwd HOST_USER_PWD
                        user password of the host where your database
                        installed on.
  --host-ssh-port HOST_SSH_PORT
                        host ssh port.
  --scenario {ap,tp,htap}
  --benchmark BENCHMARK
  --model-path MODEL_PATH
                        the place where you want to save model weights to or
                        load model weights from.
  -v, --version         show version.
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论