Creating multi tables in sysbench-0.5 cann't work

Asked by Darren

Hi, I wanna create multi tables using sysbench-0.5(the newest version in develpoment), but in fact only one table named 'sbtest1' can be created. Could you tell me why it dosent't work as expected? Thanks a lot.

 I executed the sysbench prepare command like this:
sysbench5 --test='/home/xxx/bin/sysbench5/oltp/common.lua' --oltp-table-count=3 --oltp-table-size=100000 --mysql-host=127.0.0.1 --mysql-port=5169 --mysql-user=root --mysql-db=sbtest --mysql-table-engine=innodb prepare

Question information

Language:
English Edit question
Status:
Solved
For:
sysbench Edit question
Assignee:
No assignee Edit question
Solved by:
Alexey Kopytov
Solved:
Last query:
Last reply:
Revision history for this message
Best Alexey Kopytov (akopytov) said :
#1

Darren,

It should be --oltp-tables-count (note 's' in the name). Unfortunately, sysbench silently ignores unknown options which is a known issue I'm going to address in future.

Revision history for this message
Darren (douyamumu) said :
#2

Thanks Alexey Kopytov, that solved my question.