Partitioning

Partitioning Concepts

Once a table has been partitioned, the table itself becomes a virtual concept. The partitions hold the data along with the indexes.

While every partition must have the same schema definition (columns, column types, etc.), there are several administrative features that can differ for each partition:

Thus, table partitioning allows for flexibility with data storage and administration, while still presenting the simplicity of a single table to your user community.

Table Partitioning

The common practice is horizontal partioning, available in most relational databases. There is vertical partioning, but it must be done manually.

When partitioning a table horizontally, you must choose a partition key, the column whose values are used to determine which row goes where (consists of a single column or more.)

Index Partitioning

If your partitioned table has indexes, you will get to choose whether:

<aside> 💡 The server will search every partition when the query does not include a filter condition on the partition key. If a global index exists, the server can utilize it more efficiently.

</aside>

Partitioning Methods