PHP中文网2017-04-17 13:30:16
Depends on your needs. As shown above, the performance of myisam reading will be better, but there is no transaction.
Myisam manages indexes, so index queries will be fast, while innodb manages both indexes and content.
In summary, if the project is not too large, myisam is recommended. If it exceeds one million or transaction security is required, then innodb is recommended.
高洛峰2017-04-17 13:30:16
If you don’t know which one to choose, choose innodb. Can be switched later.