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

Testing of optimizer hints

    XMLWordPrintable

Details

    Description

      Our implementation of optimizer hints is intended to bring compatibility with the corresponding functionality of MySQL, which is described here.

      Currently we have implemented a partial subset of the hints:

      • hints for join buffering: BNL(), NO_BNL(), BKA(), NO_BKA();
      • NO_ICP() hint for disabling index condition pushdown;
      • MRR(), MO_MRR() hint for multi-range reads control;
      • NO_RANGE_OPTIMIZATION() for disabling range optimization;
      • QB_NAME() for assigning names for query blocks;
      • SEMIJOIN() and NO_SEMIJOIN() for semijoin strategy control;
      • SUBQUERY() for control of subquery execution strategy.

      Examples of applying hints to SQL statements can be found at

      mysql-test/main/opt_hints.test; mysql-test/main/opt_hint_timeout.test; mysql-test/main/opt_hints_subquery.test

      Attachments

        Issue Links

          Activity

            People

              lstartseva Lena Startseva
              oleg.smirnov Oleg Smirnov
              Votes:
              1 Vote for this issue
              Watchers:
              5 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.