-
I would like to find out is one able to test OLTP workloads on mySQL using RDBMS (Inno) and In-memory (Memory) engines ? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
Yes, if you see the entry field "Transactional Storage Engine" this enables you to define the storage engine for your schema build for both MySQL and MariaDB Note however that storage engines have different characteristics: e.g. https://dev.mysql.com/doc/refman/8.0/en/internal-locking.html MySQL uses row-level locking for InnoDB tables to support simultaneous write access by multiple sessions, making them suitable for multi-user, highly concurrent, and OLTP applications. Therefore as the HammerDB TPROC-C workload is highly, concurrent OLTP InnoDB is the default as the best performing storage engine for this workload. MyRocks supported by MariaDB has also been tested. |
Beta Was this translation helpful? Give feedback.
-
Thank you Steve, I managed to get it working 😊 |
Beta Was this translation helpful? Give feedback.
-
Thank you Steve I managed to successfully run a timed workload using the INNODB storage engine however, I am struggling to duplicate the same test using a MEMORY engine and get either the error "The table stock is full" when I'm running more than 1 virtual users and "The table 'item' is full" when im running a single user. Do you perhaps have a guide on how use use the Memory engine for MySQL? |
Beta Was this translation helpful? Give feedback.
-
This 0 NOPM means that because you set the total transactions to 100,000 it completed these before you started the timed part of the test and therefore recorded no transactions. The ability to set the total number of transactions allows you to run test scenarios to test connectivity where users are logging on and off during the test. In your case you need to leave this total number of transactions at a higher value. |
Beta Was this translation helpful? Give feedback.
-
Hey Steve, I've submitted my results through my technical report. However, a professor has suggested that I should conduct the same experiment on a cloud platform with better computing resources, even if it means paying a bit extra. Do you have any recommendations for a cloud platform that would able me to perform the a similar test? |
Beta Was this translation helpful? Give feedback.
-
Hi Steve Vuser 4:mysqlexec/db server: PROCEDURE tpcc.NEWORD does not exist Are you able to assist me please |
Beta Was this translation helpful? Give feedback.
-
I'm not entirely sure what the issue is here, as stored procedures are a standard feature in MySQL. |
Beta Was this translation helpful? Give feedback.
Yes, if you see the entry field "Transactional Storage Engine" this enables you to define the storage engine for your schema build for both MySQL and MariaDB
Note however that storage engines have different characteristics: e.g. https://dev.mysql.com/doc/refman/8.0/en/internal-locking.html
MySQL uses row-level locking for InnoDB tables to support simultaneous write access by multiple sessions, making them suitable for multi-user, highly concurrent, and OLTP applications.
...
MySQL uses table-level locking for MyISAM, MEMORY, and MERGE tables, permitting only one session to update those tables at a time. This locking level makes these storage engines more suitable for read-only, read-most…