[MDEV-10076] Add subpartitioning by LIST and RANGE Created: 2016-05-16  Updated: 2019-02-14

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Anders Karlsson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Compatibility

Issue Links:
PartOf
is part of MDEV-10137 Providing compatibility to other data... Open
Epic Link: Oracle Compatibility

 Description   

Currently subpartitioning can only use either KEY or HASH schemes. It would be really useful to be able to also use RANGE and LIST subpartitions.



 Comments   
Comment by Sergei Golubchik [ 2016-05-17 ]

What would it be really useful for?

Comment by Anders Karlsson [ 2016-05-17 ]

This is useful in the case where there are a lot of partitions and a lot of data. Partitioning is useful in providing ease and performance of data pruning, in the sense that old data can be removed by dropping partitions, as well as a means to increased performance in that the amount of data to process can be kept smaller and partitions can be pruned. When there is a lot of data, these two use cases, partition dropping and performance boost, are combined using subpartitioning, where the main partition is used to allow partitions with outdated data to be dropped and the subpartitions allow data to be split in smaller chunks for performance reasons and partition pruning. Now, current HASH and KEY partitioning schemes are rather basic and combining them with LIST and RANGE partitioning would ease subpartitioning to allow the requested partition pruning to be more effective and useful.

Generated at Thu Feb 08 07:39:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.