Details

    Description

      When binlog file size exceed max_binlog_size designed by configuration, it will call find_uniq_filename to generate the next binlog file name for next binlog file. In this case, user thread will scan all the files in the binlog directory, which can be found by log_bin_basename. It will cost a lot of time when there are a lot of binlog files exist. and as a result, all DML/DDL will be blocked by this user thread for some time.

      Attachments

        Issue Links

          Activity

            The speedup of binlog rotations was already done in 10.4.4 as part of MDEV-19116

            monty Michael Widenius added a comment - The speedup of binlog rotations was already done in 10.4.4 as part of MDEV-19116

            People

              monty Michael Widenius
              musazhang musazhang
              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.