MySql different storage engines |
One must have brief idea on these storage engines to face any kind of interview.
- MyISAM - the default MySQL pluggable storage engine and the one that is used the most in Web, data warehousing, and other application environments. Note that a MySQL server's default storage engine can easily be changed by altering the STORAGE_ENGINE configuration variable
- InnoDB - used for transaction processing applications, and sports a number of features including ACID transaction support.
- BDB - an alternative transaction engine to InnoDB that supports COMMIT, ROLLBACK, and other transactional features.
- Memory - stores all data in RAM for extremely fast access in environments that require quick look ups of reference and other like data.
- Merge - allows a MySQL DBA or developer to logically group together a series of identical MyISAM tables and reference them as one object. Good for VLDB environments like data warehousing.
- Archive - provides the perfect solution for storing and retrieving large amounts of seldom-referenced historical, archived, or security audit information.
- Federated - offers the ability to link together separate MySQL servers to create one logical database from many physical servers. Very good for distributed or data mart environments.
- Cluster/NDB - the Clustered database engine of MySQL that is particularly suited for applications with high performance lookup needs that also require the highest possible degree of uptime and availability.
- Other - other storage engines include CSV (references comma-separated files as database tables), Blackhole (for temporarily disabling application input to the database) and an Example engine that helps jump start the process of creating custom pluggable storage engines.