KEY Partitioning Type
Understand KEY partitioning, similar to HASH but using MariaDB's internal hashing function on one or more columns to distribute data.
Syntax
PARTITION BY KEY
[ALGORITHM={MYSQL51|MYSQL55|BASE31|CRC32C|XXH32|XXH3}]
([column_names])
[PARTITIONS (number_of_partitions)]PARTITION BY KEY ([column_names])
[PARTITIONS (number_of_partitions)]Description
ERROR 1488 (HY000): Field in list of fields for partition function not found in tableExamples
Last updated
Was this helpful?

