February 2018
Intermediate to advanced
510 pages
16h 10m
English
MySQL MEMORY tables should be considered for use only for noncritical data that is accessed often and is read-only and rarely updated. The application should be benchmarked against equivalent InnoDB or MyISAM tables under realistic workloads to confirm that additional performance is worth the risk of losing data.
We should examine the kinds of queries against each table for best performance with MEMORY tables. We should also specify the type of use for each associated index. It can be a B-tree index or a hash index. Use the USING BTREE or USING HASH clause on the CREATE INDEX statement.
Read now
Unlock full access