Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
Goal
Add support for WITH VALIDATION | WITHOUT VALIDATION to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE
WITH VALIDATION should be the default behavior.
Must also cover CONVERT {TABLE|PARTITION} TO
Background
When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE.
MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check.
h3. Supplemental feature
Make THAN keyword optional in partition definition of range partitioning.
Attachments
Issue Links
- causes
-
MDEV-33125 CHECK TABLE does not recognize corruption after EXCHANGE WITHOUT VALIDATION on system-time partitioning
-
- Closed
-
-
MDEV-33128 WITHOUT VALIDATION allows to insert duplicate values into unique key without a way to repair
-
- Open
-
- is part of
-
MDEV-22162 Make partitions more flexible to use
-
- Open
-
- relates to
-
MDEV-20498 Assertion `table_share->tmp_table != NO_TMP_TABLE || m_lock_type == 1' failed upon REBUILD PARTITION
-
- Stalled
-
-
MDEV-22165 CONVERT TABLE: move in partition from existing table
-
- Closed
-
-
MDEV-22166 CONVERT PARTITION: move out partition into a table
-
- Closed
-
-
MDEV-28298 Add Foreign key to a table instantly without checking existing data
-
- Open
-
-
MDEV-33190 Errors or assertion failure upon REPAIR on partitioned Aria table with misplaced rows
-
- Stalled
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue is part of MDEV-22162 [ MDEV-22162 ] |
Description |
Add support for WITH VALIDATE | WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Add support for WITH VALIDATE | WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Assignee | Alexey Botchkov [ holyfoot ] |
Labels | Compatibility |
Fix Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.5 [ 23123 ] |
Rank | Ranked lower |
Fix Version/s | 10.6 [ 24028 ] |
Assignee | Alexey Botchkov [ holyfoot ] |
Fix Version/s | 10.7 [ 24805 ] |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Workflow | MariaDB v3 [ 106790 ] | MariaDB v4 [ 131251 ] |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.8 [ 26121 ] |
Description |
Add support for WITH VALIDATE | WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Description |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Add support for WITH VALIDATE | WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Assignee | Max Mether [ maxmether ] |
Fix Version/s | 10.9 [ 26905 ] |
Link | This issue relates to MDEV-28298 [ MDEV-28298 ] |
Description |
Add support for WITH VALIDATE | WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Assignee | Max Mether [ maxmether ] | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] |
Link |
This issue causes |
Link |
This issue causes |
Description |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. Should also cover {{CONVERT \{TABLE|PARTITION} TO}} |
Link |
This issue relates to |
Link |
This issue relates to |
Assignee | Ralf Gebhardt [ ralf.gebhardt@mariadb.com ] | Aleksey Midenkov [ midenok ] |
Fix Version/s | 11.4 [ 29301 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | Adding support for WITH_VALIDATE to ALTER TABLE EXCHANGE PARTITION | WITHOUT CHECK for EXCHANGE PARTITION/CONVERT IN |
Description |
Add support for WITH VALIDATE \| WITHOUT VALIDATE to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has had this since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. Should also cover {{CONVERT \{TABLE|PARTITION} TO}} |
Add support for WITH VALIDATION \| WITHOUT VALIDATION to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has [had this|https://dev.mysql.com/doc/refman/8.0/en/partitioning-management-exchange.html] since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. Should also cover {{CONVERT \{TABLE|PARTITION} TO}} |
Summary | WITHOUT CHECK for EXCHANGE PARTITION/CONVERT IN | WITHOUT VALIDATION for EXCHANGE PARTITION/CONVERT IN |
Assignee | Aleksey Midenkov [ midenok ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Description |
Add support for WITH VALIDATION \| WITHOUT VALIDATION to
ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE MySQL has [had this|https://dev.mysql.com/doc/refman/8.0/en/partitioning-management-exchange.html] since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. WITH VALIDATION should be the default behavior. Should also cover {{CONVERT \{TABLE|PARTITION} TO}} |
h3. Goal
Add support for WITH VALIDATION \| WITHOUT VALIDATION to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE WITH VALIDATION should be the default behavior. Must also cover {{CONVERT \{TABLE|PARTITION} TO}} h3. Background When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. MySQL has [had this|https://dev.mysql.com/doc/refman/8.0/en/partitioning-management-exchange.html] since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. h3. Supplemental feature Make THAN keyword optional in partition definition of range partitioning. |
Assignee | Oleksandr Byelkin [ sanja ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Fix Version/s | 11.4.1 [ 29523 ] | |
Fix Version/s | 11.4 [ 29301 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Assignee | Aleksey Midenkov [ midenok ] | Elena Stepanova [ elenst ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Testing [ 10301 ] |
Fix Version/s | 11.4 [ 29301 ] | |
Fix Version/s | 11.4.1 [ 29523 ] |
Description |
h3. Goal
Add support for WITH VALIDATION \| WITHOUT VALIDATION to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE WITH VALIDATION should be the default behavior. Must also cover {{CONVERT \{TABLE|PARTITION} TO}} h3. Background When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. MySQL has [had this|https://dev.mysql.com/doc/refman/8.0/en/partitioning-management-exchange.html] since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. h3. Supplemental feature Make THAN keyword optional in partition definition of range partitioning. |
h3. Goal
Add support for WITH VALIDATION \| WITHOUT VALIDATION to ALTER TABLE ... EXCHANGE PARTITION ... WITH TABLE WITH VALIDATION should be the default behavior. Must also cover {{CONVERT \{TABLE|PARTITION} TO}} h3. Background When WITHOUT VALIDATION is specified, there is no check that all rows in the added table fulfills the partition restrictions. If there is inconsistencies, it will result in rows later not being found in SELECT, UPDATE or DELETE. MySQL has [had this|https://dev.mysql.com/doc/refman/8.0/en/partitioning-management-exchange.html] since 5.7.5 and it's important when adding big tables to a partitioned table to avoid the expensive row-by-row check. -h3. Supplemental feature- -Make THAN keyword optional in partition definition of range partitioning.- |
Link | This issue causes TODO-4495 [ TODO-4495 ] |
Link | This issue causes TODO-4495 [ TODO-4495 ] |
Link | This issue is part of TODO-4495 [ TODO-4495 ] |
Link |
This issue causes |
Labels | Compatibility | Compatibility Preview_11.4 |
Link | This issue relates to MDEV-20498 [ MDEV-20498 ] |
Link | This issue causes MDEV-33128 [ MDEV-33128 ] |
Link | This issue relates to MDEV-33190 [ MDEV-33190 ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
Fix Version/s | 11.4.1 [ 29523 ] | |
Fix Version/s | 11.4 [ 29301 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Assignee | Sergei Golubchik [ serg ] | Aleksey Midenkov [ midenok ] |
Zendesk Related Tickets | 192199 |