Again, another simple test. Same basic tuning as yesterday, and
the table schema is the same:
CREATE TABLE `t1` (
`c1` int(11) NOT NULL AUTO_INCREMENT,
`c2` char(100) DEFAULT NULL,
PRIMARY KEY (`c1`)
);
The table is again filled with 1.3 million rows, but this time
I'm doing an UPDATE. The update is again a simple primary key
update:
UPDATE t1 SET c2 = CONCAT('xxx', RAND(), 'yyy') WHERE c1 =
<random value 1 - 1000000>;
I run this on the Maria, InnoDB and MyISAM engines. The issues
with the MyISAM and Maria engines here is that they lack row
level locking. In MariaDB 5.1.47, the InnoDB version is 1.0.6, so
it is more scalable than what it used to be. The testbench is not
an incredibly hot machiine, just a 4 core AMD box.
I run the test in some different configurations, using a single
thread, using 10 threads and using 100 threads. Here we can see
that InnoDB Row-level locking …
[Read more]