Replies: 2 comments 1 reply
-
Here is a result on the same system with use all warehouses = true (all warehouses = true, stored procedures = true) it is a 3.5% difference between this and use all warehouses = false.
The data set is only 400 warehouses (originally we started with 1000 but sysbench took much longer to prepare the schema so we reduced it to save time). Therefore this size of schema will not make a great difference whether using the default 1 warehouse per virtual user or the modified version to use more warehouses to increase I/O. Obviously, it tends to make a bigger difference when you create a much larger data set. Also note as shown at the end of the output HammerDB will purge the history list for more consistency with back to back tests but this is only possible with MariaDB at present. Here is the configuration data and the output from the job showing the warehouse assignment.
|
Beta Was this translation helpful? Give feedback.
-
Here is the result for (all warehouses = true, stored procedures = false)
Note that as explained comprehensively here https://www.hammerdb.com/blog/uncategorized/why-you-should-benchmark-your-database-using-stored-procedures if you want to compare system capability for running a database then you should use stored procedures, otherwise a big part of your test becomes a network test instead. Here is an archived screenshot with HammerDB as the blue line, sysbench as the orange one. A key difference is that HammerDB tests Oracle, SQL Server, Db2 and PostgreSQL as well as MySQL and MariaDB on both Windows and Linux so we know what scalability should be achievable for the workload on a particular system as we can try another database engine, when a tool only tests one database on one OS it is difficult to know where the bottlenecks are and therefore how valid the results are. |
Beta Was this translation helpful? Give feedback.
-
I'm talking about this subject: Comparing HammerDB TPROC-C results with sysbench-tpcc
If I understand correctly, performance between HammerDB and sysbench-tpcc is being checked using only the HammerDB parameter "maria_no_stored_procs." However, you forgot about another parameter, "maria_allwarehouse." As far as I remember, with sysbench-tpcc, you can't choose to use all warehouses or not; it always has "all warehouses = true." But with HammerDB, if "all warehouses = false," your performance will always be better because all your threads read info about warehouses from database caches and not from disks.
So, comparing the following is not fully correct:
You also need to add another test with HammerDB (all warehouses = true, stored procedures = false) to see the gap between sysbench-tpcc and HammerDB.
Beta Was this translation helpful? Give feedback.
All reactions