type of the table.2. Doing Start/commit operations on tables that do not support transactions has no effect and has been committed before committing a commit.3. You can execute the following command to switch non-transactional tables to transactions (data is not lost), the InnoDB table is more secure than the MyISAM table: ALTER TABLE TableName TYPE=INNODB, or u
engine type of the table.2. Doing Start/commit operations on tables that do not support transactions has no effect and has been committed before committing a commit.3. You can execute the following command to switch non-transactional tables to transactions (data is not lost), the InnoDB table is more secure than the MyISAM table: ALTER TABLE TableName TYPE=INNODB
tools for checking and repairing tables. myISAM tables can be compressed and support full-text search. they are not transaction-safe and do not support foreign keys. If a transaction is rolled back, incomplete rollback is not atomic. If you execute a large number of SELECT statements, MyISAM is a better choice.
InnoDB: This type is transaction-safe. it has the
Tags: MySQL performance tuning six InnoDB engine and MyISAM engine performanceThe choice of the two storage engines depends on the application characteristics of the project, and for the complex application system, it is possible to select a combination of various storage engines according to the actual situation. But this method is not recommended to be taken.
.
You can look at the following table:
MyISAM
InnoDB
The composition of the difference
Each myisam is stored on disk as three files. The file name is the table name and the extension is the file type.. frm file storage table definition;. MyD (MYData) The extension of the data file;. The extension of the Myi (myindex) index f
and MyISAM engines, InnoDB includes support for transactional and foreign keys, which are not available in the top two engines for two points. As mentioned earlier, if your design requires accesses than either or both of these features, you will be forced to use one of the latter two engines.The official Mysql explanation for Innordb is this:InnoDB provides MySQL with a transaction-safe (acid-compatible) s
MySQL two table storage structures: MyISAM and InnoDB performance comparison test, myisaminnodb
Reproduced http://www.jb51.net/article/5620.htm
MySQL supports two main table storage formats: MyISAM and InnoDB. InnoDB was used for
The following articles mainly introduce the performance tests of MySQL MyISAM engine and InnoDB engine. The MyISAM engine and InnoDB engine are often used in actual operations, the following article describes the performance tests
mysql| Comparison | performance
MySQL supports the two main table storage format Myisam,innodb, last month when doing a project, first used InnoDB, the result is particularly slow, 1 seconds can only insert 10. Later replaced by the MyISAM format, a second inserted tens of t
MySQL supports the two main table storage format Myisam,innodb, last month when doing a project, first used InnoDB, the result is particularly slow, 1 seconds can only insert 10. Later replaced by the MyISAM format, a second inserted tens of thousands of bars. It was decided that the
Label:Premise: MySQL before 5.0, read and write performance difference is very big, read performance: MyISAM very strong MySQL after 5.0, the gap is not very big http://passover.blog.51cto.com/2431658/507265 http://blog.csdn.net/cchaha/article/details/1782723 http://www.taobaodba.com/ Since there is a recent project on system
mThread_cache_size=8 Myisam_max_sort_file_size = 100 GBMyisam_max_extra_sort_file_size= 100 GBMyisam_sort_buffer_size= 100 mKey_buffer_size= 82 mRead_buffer_size= 64 KRead_rnd_buffer_size= 256 KSort_buffer_size= K innodb_additional_mem_pool_size = 4 m innodb_flush_log_at_trx_commit = 1 innodb_log_buffer_size = 2 m innodb_buffer_pool_size = 159 m innodb_log_file_size = 80 m innodb_thread_concurrency = 8 [Summary] It can be seen that in MySQL 5.0, the
MySQL supports two main table storage formats: MyISAM and InnoDB. InnoDB was used for a project last month. The results are very slow and only a dozen pieces can be inserted in one second. Later I changed to MyISAM format and inserted tens of thousands of entries in one second. At that time, the
Reprint Http://www.jb51.net/article/5620.htmMySQL supports the two main table storage format Myisam,innodb, last month to do a project, the first use of InnoDB, the result is particularly slow, 1 seconds can only insert 10. Later into the MyISAM format, one second to insert tens of thousands of bars. It was decided tha
Label:in MySQL data table, use MyISAM engine faster, storage space is smaller; InnoDB engine insertion speed is slightly faster, the key is to support transactions. Is it good to use MyISAM or InnoDB in practical applications? Specific problem specific analysis, determined by your system characteristics, If the use of
There is a MySQL database with more than 1.1 billion records because of its working relationship. I thought that the query performance of the MyISAM engine would exceed InnoDB. I tried it these two days,
There is a MySQL database with more than 1.1 billion records because of its working relationship. I thought that the query
| Possible_keys | Key | Key_len | Ref | Rows | Extra |+----+-------------+-------+-------+---------------+------------+---------+------+---------+------------------- -------+| 1 | Simple | T1 | Range | Fuck_index | Fuck_index | 5 | NULL | 7656854 | Using where; Using Index |+----+-------------+-------+-------+---------------+------------+---------+------+---------+------------------- -------+1 row in Set (0.28 sec)The result here is similar to the above. I have a limited level of error, please
first turn off the transaction and then insert, so the speed is fastMySQL supports the two main table storage format Myisam,innodb, last month to do a project, the first use of InnoDB, the result is particularly slow, 1 seconds can only insert 10. Later into the MyISAM format, one second to insert tens of thousands of
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.