@@ -251,10 +251,12 @@ mysql> select * from latest_file_io limit 5;
251251
252252Summarizes memory use by user using the 5.7 Performance Schema instrumentation.
253253
254+ When the user found is NULL, it is assumed to be a "background" thread.
255+
254256##### Example
255257
256258``` SQL
257- mysql> select * from memory_by_user_by_current_bytes WHERE user IS NOT NULL ;
259+ mysql> select * from memory_by_user_by_current_bytes;
258260+ -- ----+--------------------+-------------------+-------------------+-------------------+-----------------+
259261| user | current_count_used | current_allocated | current_avg_alloc | current_max_alloc | total_allocated |
260262+ -- ----+--------------------+-------------------+-------------------+-------------------+-----------------+
@@ -742,6 +744,8 @@ avg_tmp_tables_per_query: 189
742744
743745Summarizes statement activity, file IO and connections by user.
744746
747+ When the user found is NULL, it is assumed to be a "background" thread.
748+
745749##### Example
746750
747751```SQL
@@ -823,6 +827,8 @@ mysql> select * from user_summary_by_file_io_type;
823827
824828Summarizes stages by user, ordered by user and total latency per stage.
825829
830+ When the user found is NULL, it is assumed to be a "background" thread.
831+
826832##### Example
827833
828834```SQL
@@ -855,6 +861,8 @@ mysql> select * from user_summary_by_stages;
855861
856862Summarizes overall statement statistics by user.
857863
864+ When the user found is NULL, it is assumed to be a "background" thread.
865+
858866##### Example
859867
860868```SQL
@@ -872,6 +880,8 @@ mysql> select * from user_summary_by_statement_latency;
872880
873881Summarizes the types of statements executed by each user.
874882
883+ When the user found is NULL, it is assumed to be a "background" thread.
884+
875885##### Example
876886
877887```SQL
0 commit comments