Subject Calculating Key Size (REPOST)
Author Tamas Varga
Hi!

How can I determine the size of a key knowing the size (in byte) of
the included fields? (Or where can I find the appropriate parts in the
source code?)
Mainly I want to create unique keys using one as long as possible
varchar field and some UUID field (char(22)). In some cases I have to
use additional integer fields.