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

mysqldump should use max_statement_time=0 and/or allow setting one

    XMLWordPrintable

Details

    Description

      If you have a global max_statement_time set, mysqldump might fail, as the dump takes longer. Unfortunately there is no way to specify a max_statement_time for mysqldump.

      Solution would be:
      a) use a session max_statement_time=0
      b) add a --max-statement-time option to mysqldump to overwrite the default
      c) allow to run an arbitrary query before the dump to eg. set session max_statement_time

      Ralf

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              ralfbecker Ralf Becker
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5h
                  0.5h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.