Open
Conversation
added 3 commits
January 13, 2026 17:00
Query simplified: SELECT VARIABLE_NAME, VARIABLE_VALUE FROM performance_schema.global_variables
Query simplified: SELECT 1 FROM performance_schema.events_stages_summary_global_by_event_name LIMIT 1 SELECT 1 FROM performance_schema.memory_summary_global_by_event_name LIMIT 1 SELECT 1 FROM performance_schema.table_io_waits_summary_by_table LIMIT 1 SELECT 1 FROM performance_schema.file_summary_by_instance LIMIT 1 SELECT 1 FROM performance_schema.table_lock_waits_summary_by_table LIMIT 1 SELECT 1 FROM performance_schema.events_waits_summary_global_by_event_name LIMIT 1
Query simplified: ELECT VARIABLE_VALUE FROM performance_schema.global_status WHERE VARIABLE_NAME = ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(this PR contains many commits, it can be squash merged)
When checking what ps-top is doing via the general log, I saw that most queries are done in the default performance_schema table, and some with the full performance_schema prefix.
For having everything consistent (and efficient), I removed the prefix everywhere I found it (I might have missed some).