Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes (no replies)

$
0
0
According with Known Limitations of NDB Cluster
**
Column width. Attempting to create an index on an NDB table column whose width is greater than 3072 bytes succeeds, but only the first 3072 bytes are actually used for the index. In such cases, a warning Specified key was too long; max key length is 3072 bytes is issued, and a SHOW CREATE TABLE statement shows the length of the index as 3072.
**
So I'm expecting a warning when I try to create a table with a key on a varchar(2000) column,
but I get an error

ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes

and table is not definetively created

Is there any workaround for that ?

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>