Rechercher dans le manuel MySQL
23.2.3 COLUMNS Partitioning
The next two sections discuss
COLUMNS
partitioning, which are variants on
RANGE
and LIST
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, both RANGE COLUMNS
partitioning
and LIST 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:
All integer types:
TINYINT
,SMALLINT
,MEDIUMINT
,INT
(INTEGER
), andBIGINT
. (This is the same as with partitioning byRANGE
andLIST
.)Other numeric data types (such as
DECIMAL
orFLOAT
) are not supported as partitioning columns.Columns using other data types relating to dates or times are not supported as partitioning columns.
The following string types:
CHAR
,VARCHAR
,BINARY
, andVARBINARY
.TEXT
andBLOB
columns are not supported as partitioning columns.
The discussions of RANGE COLUMNS
and
LIST 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, see
Section 23.2.1, “RANGE Partitioning”, and
Section 23.2.2, “LIST Partitioning”, respectively.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-partitioning-columns.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.