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

Implement interval partitioning similar to Oracle

    XMLWordPrintable

Details

    Description

      Some users would like MariaDB to support interval partitioning similar to Oracle's feature:

      Interval Partitioning

      Interval partitioning is an extension of range partitioning which instructs the database to automatically create partitions of a specified interval when data inserted into the table exceeds all of the existing range partitions. You must specify at least one range partition. The range partitioning key value determines the high value of the range partitions, which is called the transition point, and the database creates interval partitions for data with values that are beyond that transition point. The lower boundary of every interval partition is the non-inclusive upper boundary of the previous range or interval partition.

      For example, if you create an interval partitioned table with monthly intervals and you set the transition point at January 1, 2007, then the lower boundary for the January 2007 interval is January 1, 2007. The lower boundary for the July 2007 interval is July 1, 2007, regardless of whether the June 2007 partition was created.

      You can create single-level interval partitioned tables and the following composite partitioned tables:

      • Interval-range
      • Interval-hash
      • Interval-list
      • Only one partitioning key column can be specified, and it must be of NUMBER or DATE type.
      • Interval partitioning is not supported for index-organized tables.
      • NULL values cannot be stored in the partitioning key column when using interval partitioning.

      Interval partitioning supports a subset of the capabilities of range partitioning. For information about restrictions when using interval partitioning, refer to Oracle Database SQL Language Reference.

      https://docs.oracle.com/database/121/VLDBG/GUID-C121EA1B-2725-4464-B2C9-EEDE0C3C95AB.htm

      Attachments

        Activity

          People

            Unassigned Unassigned
            GeoffMontee Geoff Montee (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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