sys Schema Views The host from which the client connected. Rows for which the  HOST  column in the underlying Performance Schema table is  NULL  are assumed to be for background threads and are reported with a host name of  background . The current number of allocated memory blocks that have not been freed yet for the host. The current number of allocated bytes that have not been freed yet for the host. The current number of allocated bytes per memory block for the host. The largest single current memory allocation in bytes for the host. The total memory allocation in bytes for the host. These views summarize memory use, grouped by thread. By default, rows are sorted by descending amount of memory used. The  memory_by_thread_by_current_bytes  and  x$memory_by_thread_by_current_bytes views have these columns: The thread ID. The thread user or thread name. The current number of allocated memory blocks that have not been freed yet for the thread. The current number of allocated bytes that have not been freed yet for the thread. The current number of allocated bytes per memory block for the thread. The largest single current memory allocation in bytes for the thread. 5154 • current_count_used • current_allocated • current_avg_alloc • current_max_alloc • total_allocated • thread_id • user • current_count_used • current_allocated • current_avg_alloc • current_max_alloc • total_allocated 28.4.3.17 The memory_by_thread_by_current_bytes and x $memory_by_thread_by_current_bytes Views