MySQL
ではさまざまなインデックスをサポートしていますが、一般に使用されるのは
ISAM または MyISAM です。これらは B
ツリーインデックスを使用します。このインデックスファイルのサイズは、すべてのキーについて
(キー長+4)/0.67
を計算し、それを合計することで大まかに算出できます(これは、すべてのキーがソートされた順に挿入され、かつキーが一切圧縮されないという、最悪のケースを想定しています)。
This is a translation of the MySQL Reference Manual that can be
found at
dev.mysql.com.
The original Reference Manual is in English, and this translation
is not necessarily as up to date as the English version.