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

Default optimizer setting changes for MariaDB 10.4

Details

    • 10.4.0-1

    Description

      The current default settings are:

      optimizer_use_condition_selectivity=1
      use_stat_tables=NEVER
      

      This means many optimizations are not enabled.

      During discussion on the optimizer call, figured that we should use defaults like so:

      optimizer_use_condition_selectivity=4
      use_stat_tables=PREFERABLY
      

      The task is:

      • change the defaults
      • This will cause some MTR test result differences
      • Go through the failing test and see:
        • some tests specifically require old settings. Set the variables for these tests.
        • some tests dont' update test results for these.

      cc igor, cvicentiu, sanja, varun_raiko, shagalla

      Attachments

        Issue Links

          Activity

            psergei Sergei Petrunia created issue -
            psergei Sergei Petrunia made changes -
            Field Original Value New Value
            Description The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=3 (or even 4)
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            psergei Sergei Petrunia made changes -
            Description The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.
            psergei Sergei Petrunia made changes -
            Description The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.
            The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.


            cc [~igor] [~cvicentiu] [[~sanja] [~varun_raiko][~shagalla]
            psergei Sergei Petrunia made changes -
            Assignee Varun Gupta [ varun ]
            varun Varun Gupta (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            varun Varun Gupta (Inactive) made changes -
            Sprint 10.3.5-1 [ 229 ]
            serg Sergei Golubchik made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            serg Sergei Golubchik made changes -
            alice Alice Sherepa made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.3 [ 22126 ]
            varun Varun Gupta (Inactive) made changes -
            Priority Blocker [ 1 ] Critical [ 2 ]
            serg Sergei Golubchik made changes -
            Sprint 10.3.5-1 [ 229 ]
            serg Sergei Golubchik made changes -
            Summary Default optimizer setting changes for MariaDB 10.3 Default optimizer setting changes for MariaDB 10.4
            varun Varun Gupta (Inactive) made changes -
            ratzpo Rasmus Johansson (Inactive) made changes -
            Sprint 10.4.0-1 [ 254 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Rank Ranked lower
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            Description The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            join_cache_level=2
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            join_cache_level=4
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.


            cc [~igor] [~cvicentiu] [[~sanja] [~varun_raiko][~shagalla]
            The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.


            cc [~igor] [~cvicentiu] [[~sanja] [~varun_raiko][~shagalla]
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            serg Sergei Golubchik made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Epic Link PT-76 [ 68557 ]
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            psergei Sergei Petrunia made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Rank Ranked higher
            alice Alice Sherepa made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Labels defaults
            varun Varun Gupta (Inactive) made changes -
            alice Alice Sherepa made changes -
            alice Alice Sherepa made changes -
            alice Alice Sherepa made changes -
            alice Alice Sherepa made changes -
            psergei Sergei Petrunia made changes -
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            Fix Version/s 10.4.1 [ 23228 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Description The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.


            cc [~igor] [~cvicentiu] [[~sanja] [~varun_raiko][~shagalla]
            The current default settings are:

            {noformat}
            optimizer_use_condition_selectivity=1
            use_stat_tables=NEVER
            {noformat}

            This means many optimizations are not enabled.

            During discussion on the optimizer call, figured that we should use defaults like so:
            {noformat}
            optimizer_use_condition_selectivity=4
            use_stat_tables=PREFERABLY
            {noformat}

            The task is:
            - change the defaults
            - This will cause some MTR test result differences
            - Go through the failing test and see:
            -- some tests specifically require old settings. Set the variables for these tests.
            -- some tests dont' update test results for these.


            cc [~igor], [~cvicentiu], [~sanja], [~varun_raiko], [~shagalla]
            psergei Sergei Petrunia made changes -
            psergei Sergei Petrunia made changes -
            psergei Sergei Petrunia made changes -
            kevg Eugene Kosov (Inactive) made changes -
            Rank Ranked lower
            kevg Eugene Kosov (Inactive) made changes -
            Rank Ranked higher
            rob.schwyzer@mariadb.com Rob Schwyzer (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 85497 ] MariaDB v4 [ 133470 ]
            Richard Richard Stracke made changes -
            rob.schwyzer@mariadb.com Rob Schwyzer (Inactive) made changes -

            People

              varun Varun Gupta (Inactive)
              psergei Sergei Petrunia
              Votes:
              1 Vote for this issue
              Watchers:
              9 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.