简易模板参数说明
 模板中参数值将用于运行调优用例,请根据实际应用程序正确填写。
MySQL
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“MySQL”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处为“MySQL”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/mysql_username  | 
使用的MySQL用户名。  | 
app/mysql_exe_path  | 
mysql可执行文件的路径。  | 
app/mysqld_exe_path  | 
mysqld可执行文件的路径。  | 
app/config_file_path  | 
MySQL配置文件路径,默认为“/etc/my.cnf”。  | 
app/test_tool/name  | 
性能测试工具的名称,默认为“sysbench”。  | 
app/test_tool/host_name  | 
性能测试工具所在主机名。  | 
app/test_tool/tool_path  | 
性能测试工具所在路径。  | 
app/test_tool/version  | 
性能测试工具版本号。  | 
app/test_tool/case_name  | 
性能测试工具所用测试用例名,默认为“oltp_mix”。  | 
app/test_tool/case_path  | 
性能测试工具所用测试用例所在路径。  | 
app/test_tool/database_name  | 
性能测试工具使用的数据库名称。  | 
app/test_tool/exec_duration  | 
性能测试工具执行,默认值为60秒。  | 
app/test_tool/thread_number  | 
性能测试工具测试时使用的线程数,默认为32个。  | 
app/test_tool/oltp_tables_count  | 
性能测试工具测试时使用的oltp表数量,默认为10个。  | 
app/test_tool/oltp_table_size  | 
性能测试工具测试时使用oltp表大小,默认为1000。  | 
app/test_tool/tune_metric  | 
性能测试工具测试时的性能指标,默认为“tps”。  | 
app/data_dir  | 
MySQL数据目录。  | 
app/socket  | 
MySQL的socket文件所在路径。  | 
app/port  | 
MySQL使用的端口号,默认为“3306”。  | 
app/host_ip  | 
MySQL主节点IP地址。  | 
openGauss
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Opengauss”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Opengauss”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/version  | 
应用版本号。  | 
app/host_name  | 
应用所在主机名称。  | 
app/system_username  | 
运行应用的操作系统用户。  | 
app/data_node_path  | 
应用的数据节点路径。  | 
app/test_tool/test_tool_name  | 
性能测试工具名称,默认为“benchmarksql”。  | 
app/test_tool/test_tool_version  | 
性能测试工具版本,默认为“5.0”。  | 
app/test_tool/host_name  | 
性能测试工具所在主机名。  | 
app/test_tool/config_path  | 
性能测试工具配置文件路径。  | 
app/test_tool/script_path  | 
性能测试工具测试脚本路径。  | 
Vastbase
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Vastbase”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Vastbase”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/version  | 
应用版本号,默认为“G100”。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/system_username  | 
运行应用的操作系统用户名。  | 
app/data_node_path  | 
应用数据节点所在的路径。  | 
app/test_tool/name  | 
性能测试工具名称,默认为“benchmarksql”。  | 
app/test_tool/version  | 
性能测试工具版本,默认为“5.0”。  | 
app/test_tool/host_name  | 
性能测试工具所在服务器名称。  | 
app/test_tool/config_path  | 
性能测试工具配置文件的路径。  | 
app/test_tool/script_path  | 
性能测试工具脚本文件的路径。  | 
RocksDB
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Rocksdb”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Rocksdb”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/database_dir  | 
应用使用数据库所在目录。  | 
app/test_tool/name  | 
性能测试工具名称,默认为“rocksdb_dbbench”。  | 
app/test_tool/benchmarksql_list  | 
性能测试工具测试用例列表,默认为“fillseq”。  | 
app/test_tool/key_size  | 
性能测试工具用例的key值大小,默认为“10”。  | 
app/test_tool/value_size  | 
性能测试工具用例的value值大小,默认为“830”。  | 
app/test_tool/num  | 
性能测试时放入rocksdb数据库中的键值对数量,默认为“10000”。  | 
app/test_tool/thread_number  | 
性能测试工具测试时使用的线程数,默认为“16”。  | 
app/test_tool/cache_size  | 
性能测试工具测试时使用的缓存大小,默认为16777216kb。  | 
app/test_tool/exec_duration  | 
性能测试工具测试时长。  | 
app/test_tool/test_tool_path  | 
性能测试工具所在路径。  | 
PostgreSQL
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Postgresql”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Postgresql”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/version  | 
应用版本号。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/system_username  | 
使用应用的操作系统用户名。  | 
app/app_exe_path  | 
应用所在文件夹的路径。  | 
app/data_node_path  | 
应用数据节点所在的路径。  | 
app/test_tool/host_name  | 
性能测试工具所在服务器名称。  | 
app/test_tool/test_tool_name  | 
性能测试工具名称,默认为“benchmarksql”。  | 
app/test_tool/test_tool_version  | 
性能测试工具版本,默认为“5.0”。  | 
app/test_tool/config_path  | 
性能测试工具配置文件的路径。  | 
app/test_tool/script_path  | 
性能测试工具脚本文件的路径。  | 
Redis
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Redis”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,默认为“Redis”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名,不输入时默认本机执行。  | 
app/version  | 
应用版本号。  | 
app/app_bind_cpu  | 
应用执行时绑定的CPU核号  | 
app/app_exe_path  | 
应用可执行文件的路径。  | 
app/app_port  | 
应用运行时使用的端口号,默认为“6379”。  | 
app/app_config_path  | 
应用配置文件的路径。  | 
app/app_data_path  | 
应用数据文件的路径。  | 
app/test_tool/bind_cpu  | 
性能测试工具运行时绑定的CPU核号。  | 
app/test_tool/clients  | 
性能测试时客户端连接数,默认为“50”。  | 
app/test_tool/requests_number  | 
性能测试时的请求数,默认为“100000”。  | 
app/test_tool/data_size  | 
性能测试时的数据大小,默认为“3”。  | 
app/test_tool/dbnum  | 
性能测试时的数据库编号,默认为“0”。  | 
app/test_tool/keyspacelen  | 
性能测试时命中指定范围内的随机键长度,默认为“100000”。  | 
app/test_tool/testtype  | 
性能测试时的压测类型列表,默认值为“set”。  | 
Hive
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Hive”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Hive”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/app_exe_path  | 
应用所在文件夹的路径。  | 
app/test_tool/name  | 
性能测试工具名称,默认为“hive_tpcds”。  | 
app/test_tool/tpcds_sql_index_list  | 
性能测试用例列表,默认为“[ 1 ]”。  | 
app/test_tool/database_name  | 
性能测试时的数据库名称。  | 
Flink
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Flink”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,此处默认为“Flink”和“hibench”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/exe_path  | 
应用可执行文件路径,默认为“/path/flink/bin”。  | 
app/master_type  | 
应用运行模式,默认为“yarn”,可选“standalone”。  | 
app/startup_params  | 
应用启动参数。  | 
app/test_tool/name  | 
性能测试工具名称,默认为“/path/HiBench”。  | 
app/test_tool/host_name  | 
性能测试工具所在服务器名称。  | 
app/test_tool/exec_duration  | 
性能测试时长,默认为180秒。  | 
app/test_tool/test_tool_path  | 
性能测试工具所在路径。  | 
app/test_tool/hibench_datagen_throughput  | 
性能测试工具数据吞吐量,默认为600K。  | 
app/test_tool/version  | 
性能测试工具版本号,默认为“7.0”。  | 
app/test_tool/case_name  | 
性能测试用例名,默认为“identity”。  | 
app/test_tool/tune_metric  | 
性能测试指标,默认为“latency”。  | 
app/test_tool/kafka_broker_list  | 
性能测试时kafka的broker列表,默认为“localhost:9092”。  | 
app/test_tool/kafka_topic_partitions  | 
性能测试时kafka的topic分区,默认为“1”。  | 
app/test_tool/kafka_topic_sh_path  | 
性能测试时kafka执行topic的脚本路径,默认为“/path/kafka/bin/kafka-topics.sh”。  | 
Kafka
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Kafka”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,默认为“Kafka”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/exe_path  | 
应用所在文件夹的路径。  | 
app/config_path  | 
应用配置文件路径。  | 
app/test_tool/name  | 
性能测试工具名称,默认为“kafka_perf”。  | 
app/test_tool/broker_list  | 
性能测试时的broker列表,默认为“localhost:9092”。  | 
app/test_tool/testtopic  | 
性能测试时的topic名称,默认为“testtopic”。  | 
app/test_tool/num_records  | 
性能测试时生产的消息总数,默认为1000000个。  | 
app/test_tool/record_size  | 
性能测试时每个消息的大小,默认为“1024”字节。  | 
app/test_tool/throughput  | 
性能测试时的吞吐量,默认为“300000”每秒最大消息数。  | 
app/test_tool/partitions  | 
性能测试时使用的分区数,默认为72个。  | 
app/test_tool/replication_factor  | 
性能测试时使用的副本数,默认为1个。  | 
Spark
字段名称  | 
含义  | 
|---|---|
template_type  | 
待调优应用名,此处为“Spark”。  | 
hosts_list  | 
任务涉及的服务器列表,不输入时默认为本机执行任务。  | 
hosts_list/name  | 
服务器名称。  | 
hosts_list/ip  | 
服务器IP地址。  | 
hosts_list/username  | 
执行任务使用的用户。  | 
hosts_list/port  | 
远程连接使用的端口号,默认为“22”。  | 
configs/rounds  | 
调优执行的总轮次,默认为50轮。  | 
configs/maximum_consecutive_failures  | 
调优执行时允许的连续失败轮次总数,默认为10次。  | 
configs/algorithm  | 
调优使用的算法,仅支持“HPO”。  | 
configs/random_initial_ratio  | 
调优时的随机比率,默认为“0.5”,取值范围0-1。  | 
assign_params/name  | 
参与调优的参数组名称,默认为“Spark”。  | 
assign_params/enable  | 
是否开启对应参数组的调优,默认为“true”,表示开启。  | 
app/host_name  | 
需要执行应用的服务器名。  | 
app/version  | 
应用版本号。  | 
app/app_exe_path  | 
应用所在文件夹的路径。  | 
app/omni_home_dir  | 
需配置的OmniOperator目录。  | 
app/master  | 
应用集群的Master节点。  | 
app/master_type  | 
应用的部署模式,可选“yarn”和“standalone”  | 
app/test_tool/name  | 
性能测试工具名称,默认为“spark_tpcds”。  | 
app/test_tool/tpcds_sql_index_list  | 
性能测试时的用例列表。  | 
app/test_tool/database_name  | 
性能测试时的数据库名称。  |