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

Make PURGE BINARY LOGS more flexible

    XMLWordPrintable

Details

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

    Description

      Right now PURGE BINARY LOGS has two modes:

      • purge logs before a specific date
      • purge logs older than a given binlog file name

      For some situations it would also be convenient to have:

      • purge logs and only keep N latest files
      • purge logs if sum of binlog file sizes is beyond given size threshold

      E.g.

      PURGE BINARY LOGS KEEP LATEST 20;
      PURGE BINARY LOGS BEYOND 100GB;
      

      or similar.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hholzgra Hartmut Holzgraefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.