This article briefly introduces the differences between MyISAM and InnoDB. Based on their features, we can further optimize MyISAM and InnoDB as much as possible.
Brief introduction from the official website.
Brief Introduction: MyIsam
M
MyISAM type does not support advanced processing such as transaction processing, and InnoDB type support, this article for you to explain the difference between Engine=innodb and Engine=myisam in MySQL, do not understand the friends can learn, I hope to help you
When you first build a database with MySQL administrato
tables are faster than bdb tables. Therefore, if you need a transaction-safe storage engine, we recommend that you use it. If you execute a large number of insert or update operations on your data, InnoDB tables should also be used for performance considerations. For InnoDB tables that support transactions, the main cause of the impact on the speed is that autoc
The basic difference:The MyISAM type does not support advanced processing, such as transaction processing, but InnoDB type support. MyISAM type tables emphasize performance, which is performed more than InnoDB types faster, but does not provide transactional support, while
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
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 of the InnoDB table is limited only by the size of the operating system file, typically 2GBtransaction Processing Aspects :Tables of the MyISAM type emphasize
Label:The main difference between the two types is that InnoDB supports transactional and foreign key and row-level locks. MyISAM is not supported. So MyISAM tend to be considered only suitable for use in small projects.I use MySQL as a user point of view, InnoDB and MyISAM
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. The
and myisam other differences: 1, MyISAM multiple database and data table record data is a sub-file storage, and InnoDB all the table record data are stored in the Ibdata1 file, so when the data table records less, a single table data file is relatively small, the use of MyISAM pe
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
The difference between engine = innodb and engine = myisam in mysql is that when MySQL Administrator is used to create a database, the table is of the InnoDB type by default. Later, when using Access2MySQL to export data, I found that only tables of the MyISAM type can be imported. I checked the differences between the
The MySQL storage engine InnoDB, MyISAM, and other storage engines introduce the constant updates and changes of MySQL. In fact, the most important thing is the change and upgrade of the storage engine, which also derive many different storage engines. When creating a MySQl database (or a schema), we will also ignore the storage engine selection, because the default storage engine we normally use directly.
InnoDB with the Myisam The six major differences
MyISAM
InnoDB
The 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
the new version of the default engine type, which is transaction-safe . It has the same characteristics as the BDB type, and they also support foreign keys . The InnoDB table is fast and has a richer feature than BDB, so it is recommended if a transaction-safe storage engine is required. If your data performs a large number of inserts or UPDATE, for performance reasons, you should use the
Mysql5.5+ 's version of the default engine is InnoDB, the earlier MySQL version of the default storage engine is MyISAMInnoDB1. Transactional operations2. Foreign key operation3. Row-level lock, which is when there is a where condition. When there is no where, it is also a table lock when searching in that range. Provides the same consistent, non-lock reads as Oracle, which increases the number of concurrent read users and improves
When you first build a database with MySQL administrator, the table defaults to the InnoDB type, and you don't care. Later, when using Access2mysql to guide the data found can only lead to myisam type of table, do not know what the difference between the two types, went to check. The MyISAM type does not support advanced processing, such as transaction processing
characteristics as the BDB type, and they also support foreign keys. The InnoDB table is fast and has a richer feature than BDB, so it is recommended if a transaction-safe storage engine is required. If your data performs a large number of inserts or update, for performance reasons, you should use the InnoDB table. For INNOD
performance. For example, COUNT () can be very fast in the MyISAM table, but it may be very painful in the InnoDB table. Primary Key query will be quite fast in InnoDB, but be careful that if our primary key is too long, it will also cause performance problems. A large numb
Differences between InnoDB and MyISAM In the Mysql storage engine (network arrangement), innodbmyisam1,Transaction Processing innodb supports the transaction function, which is not supported by myisam. Myisam is faster and has better per
InnoDB table is fast and has a richer feature than BDB, so it is recommended if a transaction-safe storage engine is required. If your data performs a large number of inserts or update, for performance reasons, you should use the InnoDB table. For INNODB types of tables that support things, the main reason for the spe
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.