InnoDB & MyISAM
时间:2010-05-24 来源:billianne
InnoDB supports foreign key, the cascaded on delete and update is very helpful, recommended for environment require strong data integrity and validity. But the trade-off is the data retrieval speed for SELECT statement.
MyISAM is good for deployment and fast in data retrieval, i think it is critical for forum usage which is mostly data read.
There is no best solution for all cases, that's why InnoDB and MyISAM co-exist, choose the one suits your needs. If your application is relying on data integrity and critical on read speed at the same time, try MySQL clustering, use InnoDB as master db for INSERT/UPDATE/DELETE, use MyISAM as slave db for SELECT, data updated in master will be trigger and propagate to slave db for synchronization.
MyISAM is good for deployment and fast in data retrieval, i think it is critical for forum usage which is mostly data read.
There is no best solution for all cases, that's why InnoDB and MyISAM co-exist, choose the one suits your needs. If your application is relying on data integrity and critical on read speed at the same time, try MySQL clustering, use InnoDB as master db for INSERT/UPDATE/DELETE, use MyISAM as slave db for SELECT, data updated in master will be trigger and propagate to slave db for synchronization.
相关阅读 更多 +
- 系统休眠文件删除后果 如何删除计算机的休眠文件 2025-04-22
- 站群服务器是什么意思 站群服务器的作用 站群服务器和普通服务器的区别 2025-04-22
- jQuery插件有何作用 jQuery插件的使用方法 2025-04-22
- jQuery插件有哪些种类 简单的jQuery插件实例 2025-04-22
-