1, transaction processingInnoDB supports transactional features, MyISAM not supported. Myisam executes faster and performs better. 2,select, UPDATE, INSERT, delete operationMyISAM:if executing a lot of select,myisam is a better choiceInnoDB:If your data performs a large number of inserts or update, for performance reas
1,Transaction ProcessingInnodb supports the transaction function, which is not supported by myisam. Myisam is faster and has better performance.
2, select, Update, insert, delete operationsMyISAM: If you execute a large number of SELECT statements, MyISAM is a better choice for In
This article mainly sorts out the six common differences between Mysql storage engines MyISAM and InnoDB, which are derived from Mysql manuals and Internet materials.
InnoDBAndMyisamSix differences
MyISAM
InnoDB
Differences in composition:
Each
Six major differences between Mysql storage engine InnoDB and Myisam: innodbmyisam
MyISAM
InnoDB
Differences in composition:
Each MyISAM is stored as three files on the disk. The name of the first file starts with the name of the t
MyISAM
InnoDB
Composition Difference
three files per myisam on disk The first file name begins with a table name, and the extension indicates the file type. frm file storage table definitionThe extension of the data file is. MYD (MYData)The extension of the index file is. MYI (Myindex)
A disk-based resource is a
InnoDB and MyISAM are the two most commonly used table types used by many people when using MySQL, each with its own pros and cons, depending on the specific application. The basic difference is that the MyISAM type does not support advanced processing, such as transaction processing, but InnoDB type support. Tables of
Transferred from: http://www.jb51.net/article/62457.htmMyISAM is the default database engine for MySQL (prior to version 5.5), which was improved by the early ISAM (Indexed sequential access method: Indexed sequential access methods). Although performance is excellent, there is one drawback: Transaction processing (transaction) is not supported. However, over the years, MySQL has also introduced InnoDB (ano
Tags: simple tree blank few minutes lock data recovery copy file nod tarInnoDB Features:support for ACID transactions (with Commit, rollback, and crash resiliency), support for stored procedures, views, support for row-level locking , support for foreign keys , maximum performance when handling huge amounts of data (it can be said that its CPU efficiency is unmatched by other disk-relational database engines), The table can be any size, does not suppo
MyISAM is the default database engine for MySQL (prior to version 5.5), which was improved by the early ISAM (Indexed sequential access method: Indexed sequential access methods). Although performance is excellent, there is one drawback: Transaction processing (transaction) is not supported. However, over the years, MySQL has also introduced InnoDB (another datab
Tags: data file insertion efault Sam Hive L database Evel mysql5.5 OraMySQL has two storage engines: InnoDB and MyISAM, and the following table is a simple comparison of the two engines
MyISAM
InnoDB
The difference in composition:
Each my
INSERT
InnoDB more Excellent
UPDATE
InnoDB more Excellent
DELETE
InnoDB it does not re-establish the table, but deletes one row at a
COUNT without WHERE
MyISAM more excellent. Because
more Excellent
DELETE
InnoDB it does not re-establish the table, but deletes one row at a
COUNT without WHERE
MyISAM more excellent. Because MyISAM saves the exact number of rows in the table
InnoDB does not save the exact number of rows in the table, it requires progre
time.5.LOAD TABLE fromThe master operation has no effect on InnoDB, and the workaround is to first change the InnoDB table to a MyISAM table, import the data and then change it to a InnoDB table, but not for tables that use additional InnoDB features, such as foreign keys.I
This article mainly organized the MySQL two commonly used storage engine MYISAM,INNODB six major common differences:
The difference in composition
MyISAM
Each myisam is stored on disk as three files. The first file begins with the name of the table, and the extension indicates the file type.
. frm file storage tabl
Simple expression.
MyISAM is a non-transactional storage engine.
InnoDB is a storage engine that supports transactions.
The InnoDB engine is more suitable for applications with more insert and update operations
The MyISAM is suitable for applications with frequent queries
MyISAMInnoDBThe difference in composition:Each myisam is stored as three files on disk. The first file name begins with the name of the table, and the extension indicates the file type.The. frm file stores the table definition.The data file has an extension of. MYD (MYData).The extension of the index file is. MYI (Myindex).A disk-based resource is a InnoDB tablespace data file and its log file, and the size
storage in Cross-platform data transfer saves a lot of hassle.InnoDB tables are more secure than MyISAM tables, and you can switch non transaction tables to transaction tables (ALTER TABLE tablename TYPE=INNODB) without the data being lost.
Application Scenario:
MyISAM Manage non-transaction tables. It provides high-speed storage and retrieval, as well as full
directly by me), indeed, if necessary, you can use Sphinx, Lucene and other programs to achieve;
4, a one-time import of a large number of data and follow-up processing, you can first import into the MyISAM engine table, after a processing processing, and then import InnoDB table (I used this method in the business to improve the data batch import and processing efficiency);
5,
MyISAM types do not support advanced processing such as transaction processing, and InnoDB type support.Tables of the MyISAM type emphasize performance, which is performed more quickly than the InnoDB type, but does not provide transactional support.InnoDB provides transacti
is an important factor in what kind of storage engine you choose, and large datasets tend to choose the INNODB approach because they support transactional processing and failback. The small database determines the length of time to recover, and InnoDB can use the transaction log for data recovery, which is faster. While MyISAM may take hours or even days to do t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.