gpt4 book ai didi

mysql - 我可以在一个数据库中使用 InnoDB 和 MyISAM 表吗?

转载 作者:IT王子 更新时间:2023-10-29 00:30:59 25 4
gpt4 key购买 nike

显然两者各有好处。 MyISAM 速度快但可能很容易损坏,InnoDB 速度慢但由于事务和外键而更稳定。因此,将两种引擎混合在一个数据库中可能会很好。可以吗?

最佳答案

REMEMBER! It's OK to mix table types in the same database! In fact it's recommended and frequently required. However, it is important to note that if you are having performance issues when joining the two types, try converting one to the other and see if that fixes it. This issue does not happen often but it has been reported.

取自MySQL - InnoDB vs MyISAM

关于mysql - 我可以在一个数据库中使用 InnoDB 和 MyISAM 表吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1970242/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com