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

Use packed sort keys in Unique objects

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Review (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 10.6
    • Component/s: Optimizer
    • Labels:
      None

      Description

      MDEV-21580 adds packed sort keys. They are supported in filesort and the functions it calls.

      Unique class shares some functions with filesort, so it should be now almost trivial to change it to use packed sort keys, as well.

      Unique class is currently used in

      • agg_func(DISTINCT col)
      • index-merge stores rowids (these are fixed size so no need to do packing here)
      • EITS uses unique

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psergey Sergei Petrunia
              Reporter:
              psergey Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: