sysbench-developers team mailing list archive
-
sysbench-developers team
-
Mailing list archive
-
Message #00022
Re: [Question #128209]: Making ROWS_BEFORE_COMMIT different from INSERT_ROWS biases the test toward MySQL
Question #128209 on sysbench changed:
https://answers.launchpad.net/sysbench/+question/128209
Mark Callaghan posted a new comment:
This is only used during the prepare step of benchmarks. I don't think
people are reporting results for that but if you want to get commits,
change the value of needs_commit from 0 to 1 in the pgsql driver.
Another option is to add parameters to set the batch size for insert.
This isn't an issue for me as I don't report results from prepare.
static drv_caps_t pgsql_drv_caps =
{
1, /* multi_rows_insert */
1, /* transactions */
1, /* prepared_statements */
0, /* auto_increment */
0, /* needs_commit */
1, /* serial */
0, /* unsigned int */
NULL /* table_options_str */
};
--
You received this question notification because you are a member of
sysbench-developers, which is an answer contact for sysbench.