Partitioning Types Overview

You are viewing an old version of this article. View the current version here.

A partitioning type determines how a partitioned table's rows are distributed across partitions. Some partition types require the user to specify a partitioning expression that determines in which partition a row will be stored.

The size of individual partitions depends on the partitioning type. Read and write performance are affected by the partitioning expression. Therefore, these choices should be made carefully.

MariaDB supports the following partitioning types:

  • RANGE
  • LIST
  • RANGE COLUMNS, HASH COLUMNS
  • HASH
  • KEY
  • LINEAR HASH, LINEAR KEY

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.