Home  >  Q&A  >  body text

linux - MySQL存储引擎选择InnoDB与MyISAM

我要做一个 问答的网站 请问存储引擎改选用那个

后期可以更改存储引擎吗?

求帮助 谢谢

大家讲道理大家讲道理2765 days ago778

reply all(4)I'll reply

  • PHP中文网

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:30:16

    Without any hesitation, use the mysql5.6 InnoDB engine directly.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:30:16

    If you don’t know which one to choose, choose innodb. Can be switched later.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 13:30:16

    Mylsam read performance is higher, but there are no transactions

    reply
    0
  • Cancelreply