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

deprecate log-slow-admin-statements, Better user experience with slow log filters

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 11.0.1
    • Server
    • None

    Description

      Hidden server parameter --log-slow-admin-statements

      • is not a server variable
      • is confusing with variable log_slow_filter=admin

      The task would deprecate parameter log-slow-admin-statements, setting is default compile value to yes.

      changing log_slow_filter to same usage as optimizer_switch using boolean mode

      Reading word filter one expect that admin=yes or just admin means that the server filter admin statements.
      What append today is the opposite and that's confusing in itself !

      To be consistent we can rename log_slow_filter to log_slow_switch where admin=yes would mean that we don't filter admin statements.

      The default would become log_slow_switch="admin=no" to get same content inside slow query log as today

      Attachments

        Activity

          People

            danblack Daniel Black
            stephane@skysql.com VAROQUI Stephane
            Votes:
            3 Vote for this issue
            Watchers:
            4 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.