Fri, 17 May 2024


What is the difference between indexes for HEAP MyISAM and MERGE MySQL tables?

By: Nathalie, NetArt Media
Sun, 7 June 2020

Some of the most important things concerning indexes for the different table types are listed below:

MyISAM
BLOB and TEXT indexes can exist.
Null values are permissible in indexes

MERGE
A MERGE table contains no indexes of its own.

HEAP
Use a hash index stored in memory, which is very fast.
Can only use indexes with the = and <=> operators.
Cannot use an index on a column that allows NULL values.
Indexes are not used with an ORDER BY clause


Category: Databases
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox