Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-7931

Implement slow query log rotation in Percona Server for MySQL 8.0

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 8.0.27-18 (Q4 2021)
    • None
    • Yes

    Description

      In Percona Server for MySQL 5.7 we have slow query log rotation. https://www.percona.com/doc/percona-server/5.7/flexibility/slowlog_rotation.html

      Can we please implement this for Percona Server for MySQL 8.0

      I also suggest that we enable it by default. suggestion:

      slow_query_log_file = /var/lib/mysql/slow-log
      max_slowlog_size = 1G
      max_slowlog_files = 5 

      Attachments

        Issue Links

          Activity

            People

              oleksandr.kachan Oleksandr Kachan
              michael.coburn@percona.com Michael Coburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 4 hours, 45 minutes
                  4h 45m

                  Smart Checklist