Performance gotcha of MySQL memory tables


Performance gotcha of MySQL memory tables | MySQL Performance Blog

One performance gotcha with MEMORY tables you might know about comes from the fact it is the only MySQL storage engine which defaults to HASH index type by default, instead of BTREE which makes indexes unusable for prefix matches or range lookups. This is however not performance gotcha I\’m going to write about. There is one more thing you should be aware which again comes from the fact MEMORY tables use HASH indexes by default.

Related Posts