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

New-style hints: [NO_]DERIVED_CONDITION_PUSHDOWN, [NO_]MERGE

Details

    • Task
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 12.1
    • Optimizer
    • None

    Description

      Implement table-level hints:

      MERGE, NO_MERGE 
      DERIVED_CONDITION_PUSHDOWN, NO_DERIVED_CONDITION_PUSHDOWN
      

      in the same way they're done in MySQL 8. See MySQL docs at:
      https://dev.mysql.com/doc/refman/8.4/en/derived-condition-pushdown-optimization.html
      https://dev.mysql.com/doc/refman/8.4/en/optimizer-hints.html#optimizer-hints-table-level

      The logic for enabling the hints is expected to be very basic - hook at the same place where the check for optimizer_switch is, override the optimizer_switch setting.

      The code to base on is MDEV-35504, look at other similar level hints and copy the approach.

      Attachments

        Issue Links

          Activity

            People

              Gosselin Dave Gosselin
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.