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

Implement max_binlog_files directive from Percona

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Currently there's no way to prevent the huge size of binarylogs which are generated in a short period of time. In our case we use binlog for MASTER-SLAVE replication and a high traffic weekend filled up the diskspace in the master server.

      Percona has implemented max_binlog_files directive which can be used to ensure the maximum disk usage of binarylogs with conjunction with max_binlog_size directive.

      See more: https://www.percona.com/doc/percona-server/LATEST/flexibility/max_binlog_files.html

      Attachments

        Activity

          Before working on this feature (which is a real progress I think), you should consider the following issue opened on Percona bug tracker:

          https://jira.percona.com/browse/PS-275

          I do not know if this is relevant but the author mentions some drawbacks using max_binlog_files variable and suggest a variable max_binlog_space or binlog_space_limit instead.

          nico Nicolas Payart added a comment - Before working on this feature (which is a real progress I think), you should consider the following issue opened on Percona bug tracker: https://jira.percona.com/browse/PS-275 I do not know if this is relevant but the author mentions some drawbacks using max_binlog_files variable and suggest a variable max_binlog_space or binlog_space_limit instead.

          This would be a useful option! Be it max_binlog_files or binlog_space_limit.
          We have a 130GB DB replicated to a backup cluster, and binlog consume about 400GB of HD for a single day!

          ccounotte COUNOTTE CEDRIC added a comment - This would be a useful option! Be it max_binlog_files or binlog_space_limit. We have a 130GB DB replicated to a backup cluster, and binlog consume about 400GB of HD for a single day!

          People

            Unassigned Unassigned
            onnimonni Onni Hakala
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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