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

          Activity

            monty Michael Widenius created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.4.4 [ 23310 ]
            monty Michael Widenius made changes -
            Assignee Michael Widenius [ monty ]

            Pushed

            monty Michael Widenius added a comment - Pushed
            monty Michael Widenius made changes -
            issue.field.resolutiondate 2019-04-02 13:19:08.0 2019-04-02 13:19:08.483
            monty Michael Widenius made changes -
            Fix Version/s 10.4.4 [ 23310 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 94136 ] MariaDB v4 [ 133909 ]
            monty Michael Widenius made changes -

            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.