[MDEV-23152] add a where condition on mysqldump for partitioning Created: 2020-07-13  Updated: 2020-07-13

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

Type: Task Priority: Minor
Reporter: Massimo Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   

To select a single partitioning the SQL just use something like this:

SELECT * FROM orders PARTITION (p3) ;

but there is not a where condition that could you to hit the p3.

the point is that mysqldump support a where condition with the option --where

but WHERE condition can not be use to select a single partition, the use of the key and the value can be complicate and explain seems check all the partition anyway.

The Future request is to have a where condition to be used as well on mysqldump to dump just a partition directly:

mysqldump... --where= PARTITION (p3) ;

something alike.


Generated at Thu Feb 08 09:20:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.