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

Roles and performance schema (feature request?)

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.0
    • Component/s: None
    • Labels:
      None

      Description

      performance_schema ignores roles. This is a feature request, but a new user would probably think this is a bug.

      1) performance_schema.threads has a ROLE column, but it's always NULL.
      2) When a user connects, a matching row is searched in performance_schema.setup_actors, including the ROLE column. However, the check is never re-done after connection, even if the user sets a role. In practice, a row with ROLE <> '%' will never match anything.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            f_razzoli Federico Razzoli added a comment -

            Maybe I should explain the reason for this request.

            setup_actors lets me decide what threads are [not] instrumented, based on user/host. But I want to instrument the threads which perform some actions, and the best way to identify them is specifying their role.

            Show
            f_razzoli Federico Razzoli added a comment - Maybe I should explain the reason for this request. setup_actors lets me decide what threads are [not] instrumented, based on user/host. But I want to instrument the threads which perform some actions, and the best way to identify them is specifying their role.

              People

              • Assignee:
                cvicentiu Vicentiu Ciorbaru
                Reporter:
                f_razzoli Federico Razzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: