On Thu, Nov 05, 2020 at 05:26:23PM +0800, Zhang Yu wrote:
- sysbench-mysql:
- oltp_test_mode: complex
- oltp_tables_count: 1000
- oltp_table_size: 100000
- nr_threads: 256
- runtime: 600
- report_interval: 1
It's awkward to define the below in job. The test scripts should have reasonable defaults?
Should i just give reasonable defaults in test script, instead of define them in job.yaml?
Yes.
- mysql_host:
- mysql_port:
- mysql_password:
- mysql_user:
- mysql_db: sysbench_1
Some of the below params I cannot find in tests/sysbench-mysql:
I'll add them to tests/sysbench-mysql later.
OK, better do that before this patch.
Thanks, Fengguang
- max_requests: 0
- mysql_table_engine: innodb
- rand_type: special
- rand_spec_pct: 100
- oltp_read_only: off
- events: 2000000000
-- 2.23.0