-
I am trying to run a benchmark on Percona XtraDB 8.0.34-26.1 with HammerDB 4.9. I am facing issue with buildschema. HammerDB is running on Linux and here is the OS version:
Here is the tcl script I am using: dbset db mysql
dbset bm TPC-C
vuset logtotemp 1
diset connection mysql_host perf-test001
diset connection mysql_port 3306
diset connection mysql_socket /tmp/mysql.sock
diset tpcc mysql_count_ware 250
diset tpcc mysql_num_vu 50
diset tpcc mysql_user perf_user
diset tpcc mysql_pass perf_password
diset tpcc mysql_storage_engine innodb
diset tpcc mysql_partition true
diset tpcc mysql_history_pk true
buildschema I am getting the following error and buildschema fails:
Library Check says mysql library is loaded successfully:
Please let me know if I am miscongfiguring the configuration for mysql. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It looks like Percona is returning a badly formed version number to the SQL As we don't explicitly test Percona then this is not a HammerDB bug - this is what we are looking for in version numbers that MySQL supports and it looks like Percona doesn't follow this format with the string 34-26. This is not best practice as it's not possible to compare higher/lower numbers with 34-26?. VERSION NUMBERS So there are 2 options:
Then it won't check the badly formed Percona version number and will continue. |
Beta Was this translation helpful? Give feedback.
It looks like Percona is returning a badly formed version number to the SQL
select version()
when we are checking to see if the version supports invisible primary keys.As we don't explicitly test Percona then this is not a HammerDB bug - this is what we are looking for in version numbers that MySQL supports and it looks like Percona doesn't follow this format with the string 34-26. This is not best practice as it's not possible to compare higher/lower numbers with 34-26?.
VERSION NUMBERS
Version numbers consist of one or more decimal numbers separated by dots, such as 2 or 1.162 or 3.1.13.1. The first number is called the major version number. Larger numbers correspond to later versions …