WL#9090: Reimplement SHOW PROCESSLIST as a view on PERFORMANCE_SCHEMA.THREADS

Affects: Server-8.0   —   Status: Complete

Summary

SHOW PROCESSLIST builds a virtual table of process information by collecting thread data from all active threads. The current implementation iterates across active threads from within the thread manager while holding a global mutex, which can be prohibitively intrusive on busy systems.

This worklog task defines an implementation of SHOW PROCESSLIST where the active thread data is queried from the Performance Schema rather than the thread manager. This implementation is offered as an alternative to the legacy method.