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
- All
- Comments
- Work Log
- History
- Activity
- Transitions
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.