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

log_queries_not_using_index reduce verbosity

Details

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

    Description

      introduce log_slow_queries_not_using_indexes_filter='possible_keys, empty_table, small_table, small_table_first_pos'

      • A possible key is found for the plan but not used
      • Table is empty or less than 1 records
      • Table is alone in the plan and less 1000 records
      • Table is first in the plan less 1000 records and other tables are const or equ_ref

      Attachments

        Issue Links

          Activity

            elenst Elena Stepanova added a comment - Also, there is log_throttle_queries_not_using_indexes introduced in 5.6: http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_log_throttle_queries_not_using_indexes
            danblack Daniel Black added a comment -

            You have seen min_examined_row_limit applies a filter for the slow query log based on the rows?

            danblack Daniel Black added a comment - You have seen min_examined_row_limit applies a filter for the slow query log based on the rows?

            Daniel thanks for this useful pointer

            stephane@skysql.com VAROQUI Stephane added a comment - Daniel thanks for this useful pointer

            People

              Unassigned Unassigned
              stephane@skysql.com VAROQUI Stephane
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.