Mysql-thinkphp's associated model Association operation requires tables to support transactions. If my table is MyISAM, isn't it necessary?

Source: Internet
Author: User
Tags percona server
The associated Model of thinkphp requires tables to support transactions. If my table is of the MyISAM type, isn't it necessary? How many people are using InnoDB? The associated Model of thinkphp requires tables to support transactions. If my table is of the MyISAM type, isn't it necessary?

How many people are using InnoDB?

Reply content:

The associated Model of thinkphp requires tables to support transactions. If my table is of the MyISAM type, isn't it necessary?

How many people are using InnoDB?

What should I do?

Currently, the default storage engine of MySQL uses InnoDB, so MyISAM is not officially recommended. We recommend InnoDB. Linux Percona Server XtraDB is also based on InnoDB.

From MySQL 5.5.5, the default MySQL engine has been changed to InnoDB.
Link: https://dev.mysql.com/doc/refman/5.5/en/innodb-default-se.html

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.