Fast reads, table locking, no transactions or foreign keys. Old
Rare, old systems
MEMORY
Keeps data in RAM. Lost on restart
Temporary fast tables
CSV
Stores data in CSV files
Data exchange
ARCHIVE
Compressed, only INSERT and SELECT
Logs
CREATE TABLE logs (
id INT PRIMARY KEY,
message TEXT
) ENGINE = InnoDB;
SHOW ENGINES; -- list of engines
SHOW TABLE STATUS WHERE Name = 'logs'; -- engine of a table
Use InnoDB unless you have a special reason. It is needed for transactions and foreign keys.