Details

    Description

      Speed up rotation of binary logs when there are 10,000 logs

      The problem is that find_uniq_filename() for each creating of a new binary log file reads all files from the directory, which can take a long time if there are a lot of binary log files.

      Fix is to cache the last used log name number and reuse that for future calls.

      Attachments

        Issue Links

          People

            monty Michael Widenius
            monty Michael Widenius
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.