Backup Software / Backup Terms Glossary / Databases / MyISAM
MyISAM is a storage engine employed by MySQL database that was used by default prior to MySQL version 5.5 (released in December, 2009). It is based on ISAM (Indexed Sequential Access Method), an indexing algorithm developed by IBM that allows retrieving information from large sets of data in a fast way.
MyISAM is very fast, and provides the best reading speed of all storage engines available in MySQL. However, if your application performs simultaneous reading and writing in one table, the engine’s performance falls down dramatically. This is explained by table-level locking: any time an application inserts data or updates a MyISAM table, all other operations are locked out.
Another big critique of MyISAM is the lack of transactions support. Without transactions, you can’t create referential actions, i.e. operations modifying several linked tables at once. For example, say that you have a CUSTOMERS table containing the list of customers, and an ORDERS table containing the list of orders (each order is associated with some customer). The idea of transactions implies that deleting a row in the “parent” table (CUSTOMERS) should delete all rows of the “child” table (ORDERS) that have a matching foreign key, and this operation can’t be stopped in the middle. Transaction-safe storage engines automatically roll back all operations included in a transaction if some of them fail to complete.
Handy Backup supports “live” backup and recovery of MyISAM tables that can be done in real time and doesn’t expect you to stop your MySQL server. To learn more, please see the MySQL Backup feature page.
Version 8.0.0, built on 4 March, 2019. 104 MBBackup Software from Novosoft LLC. 249 USD per license.
To back up MySQL database with MyISAM-based tables, you need the Small Server edition of our software. Small Server is one of the best backup solutions for small business awarded by PC Mag in 2012.
Since MySQL 5.5, default storage engine changed to InnoDB. This doesn’t mean that InnoDB is better than MyISAM: as MySQL developers say, this was done because most users never change default settings, and InnoDB is more of general purpose engine.
At Handy Backup testing lab, we have done a simple comparative test. When there were no applications using MySQL, MyISAM was almost ten times faster than InnoDB:
INSERT row time, microseconds
UPDATE row time, microseconds
DELETE row time, microseconds
Comparison of MyISAM and InnoDB speed on an idle database with an isolated query
However, when we put the database under load and the tables started receiving updates, InnoDB showed no significant reduction of speed, but MyISAM slowed down to 0.5 seconds and more.
In the last versions of MySQL, to create a table with MyISAM as a storage engine you need to add ENGINE=MyISAM to your CREATE TABLE statements, e.g:
CREATE TABLE table1 (I INT) ENGINE=MyISAM;
Or you can change the default engine back to MyISAM by issuing SET default_storage_engine=MyISAM.
In the following video tutorial you can learn how to back up and restore MySQL databases with Handy Backup.
Note: Instructions in this video suggest that you already have Handy Backup installed on your computer. If you still haven’t done so, don’t hesitate to download it.
At last, let’s discuss main target uses for the MyISAM storage engine:
Version 8.0.0, built on 4 March, 2019 104 MB
See all terms from Databases...
Backup Terms Glossary
Current glossary explains various terms that you may come across while working with Handy Backup or other backup software.
Handy Backup is a backup utility for Windows Servers and PCs that is famous for its flexibility and ease of use.
The glossary contains 178 terms. The current section Databases contains 18 terms.
Copyright © 2004-2019 Novosoft LLC. All rights reserved. Handy Backup software.
10685-B Hazelhurst Dr., Houston, TX 77043, United States Tel.: +1 (707) 703-13-11
Back to Top