As mentioned, horizontal partitioning will create more than one partition of the data. Each partition will have the same number of columns. Different partitioning techniques are used to divide the page into multiple partitions. Consider the following figure for horizontal partitioning:
The following is the list of partitioning types supported in MySQL 8:
- Range partitioning
- List partitioning
- Hash partitioning
- Columns partitioning
- Key partitioning
- Sub partitioning
Let's understand each partitioning type in detail.