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

Add GLOBAL indexes for partitioned tables

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Partitioning
    • Labels:
      None

      Description

      In other RDBMS, there is the concept of GLOBAL or LOCAL indexes on partitioned tables.

      MariaDB currently has LOCAL indexes, which are local to each partition in a table.

      A GLOBAL index on the other hand is a one-to-many relationship, allowing one index partition to map to many table partitions and avoid the scanning behavior when partition keys are not in a query.

      Implementations on other databases:

      http://www.dba-oracle.com/t_global_local_partitioned_index.htm
      Good justification on why postgres (and MariaDB) should have it: https://www.postgresql.org/message-id/CALtqXTcurqy1PKXzP9XO%3DofLLA5wBSo77BnUnYVEZpmcA3V0ag%40mail.gmail.com

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              manjot Manjot Singh
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration