[MDEV-13391] Spider relaxed partitioning limitation Created: 2017-07-27  Updated: 2017-07-27  Resolved: 2017-07-27

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Affects Version/s: 10.2.6
Fix Version/s: 10.2.6

Type: Bug Priority: Trivial
Reporter: Anders Karlsson Assignee: Anders Karlsson
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Linux



 Description   

When using Spider it would be useful to take advantage of data from several tables being colocated on the same set of Spider data nodes. This enforces that the column used for colocating data is also part of the primary key in all the tables, as this is a limitation of partitioning. Take the example of orders/customers. If we shard on customer_id, which is not unreasonable, then we have to make customer_id a part of the primary key in the orders table for this to work. It is understood that the limitation in partitioning to enforce the partitioning column to be part of the primary key is well founded and that this is there to ensure the uniqueness across partitions of the primary key. That said, in some cases it would be useful to lift this restriction, on a table by table basis, making the user responsible for maintaining cross partition uniqueness.



 Comments   
Comment by Anders Karlsson [ 2017-07-27 ]

Not a bug but a Task. See: https://jira.mariadb.org/browse/MDEV-13392

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