Subject | Calculating Key Size (REPOST) |
---|---|
Author | Tamas Varga |
Post date | 2004-03-23T08:36:37Z |
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.
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.