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

change default max_recursive_iterations = 4G -> 1k

Details

    Description

      I'm thinking 4G is a bit insane as a default. Certainly consumes a lot of CPU when you get your bounds wrong.

      Compared to the Oracle MySQL value [1] of 1000:

      [1] https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_cte_max_recursion_depth

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            Any thoughts as the last weeks of 10.5 beta are around?

            danblack Daniel Black added a comment - Any thoughts as the last weeks of 10.5 beta are around?
            danblack Daniel Black added a comment -

            Can we determine the maximum size based on the stack and autosize it if not set?

            danblack Daniel Black added a comment - Can we determine the maximum size based on the stack and autosize it if not set?
            danblack Daniel Black added a comment - I have updated https://mariadb.com/kb/en/server-system-variables/

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.