I am testing database performance with bulk record inserts.
Both systems are identical apart from storage engine
**Database 1000 4000 12000**
MySQL_InnoDB 60.95330976 218.2572161 262.1174723
MySQL_MyISAM 88.55827134 307.503075 684.8142441
The metric here is throughput defined as operations/second.
As you can see when inserting 1000 records both are very similar, again at 4000.
Am am unsure why MyISAM spikes this high compared to InnoDB at 12000 record insert. Could it be due to buffer size? I have defaults set at 8MB, and I have worked out that both 1000 records and 4000 records are inside that buffer, but 120000 records exceeds the 8MB buffer size. Could this be the reason for the exponential rise in throughput?
I am more interested in why MyISAM has this exponential spike in operations/second at 12000 inserts when InnoDB seems to be much more linear.