Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 35.1Mb
PDF (A4) - 35.2Mb
Man Pages (TGZ) - 256.4Kb
Man Pages (Zip) - 361.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  / ...  / Partitioning  / Partitioning Types  /  COLUMNS Partitioning

22.2.3 COLUMNS Partitioning

The next two sections discussCOLUMNS partitioning, which are variants onRANGE andLIST partitioning.COLUMNS partitioning enables the use of multiple columns in partitioning keys. All of these columns are taken into account both for the purpose of placing rows in partitions and for the determination of which partitions are to be checked for matching rows in partition pruning.

In addition, bothRANGE COLUMNS partitioning andLIST COLUMNS partitioning support the use of non-integer columns for defining value ranges or list members. The permitted data types are shown in the following list:

The discussions ofRANGE COLUMNS andLIST COLUMNS partitioning in the next two sections assume that you are already familiar with partitioning based on ranges and lists as supported in MySQL 5.1 and later; for more information about these, seeSection 22.2.1, “RANGE Partitioning”, andSection 22.2.2, “LIST Partitioning”, respectively.