Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22164

WITHOUT VALIDATION for EXCHANGE PARTITION/CONVERT IN

Details

    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

          Activity

            Transition Time In Source Status Execution Times
            Aleksey Midenkov made transition -
            Open In Progress
            1317d 4h 26m 1
            Aleksey Midenkov made transition -
            In Progress In Review
            1d 39m 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            18h 41m 1
            Aleksey Midenkov made transition -
            Stalled In Progress
            19d 4h 20m 1
            Aleksey Midenkov made transition -
            In Progress Closed
            2d 13h 53m 1
            Sergei Golubchik made transition -
            Closed Stalled
            1d 5h 48m 1
            Sergei Golubchik made transition -
            Stalled In Testing
            4s 1
            Elena Stepanova made transition -
            In Testing Stalled
            28d 11h 7m 1
            Sergei Golubchik made transition -
            Stalled Closed
            1d 15h 10m 1

            People

              midenok Aleksey Midenkov
              monty Michael Widenius
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.