Performance Schema Summary Tables FROM performance_schema.events_statements_histogram_by_digest WHERE SCHEMA_NAME = ’mydb’ AND DIGEST = ’bb3f69453119b2d7b3ae40673a9d4c7c’ AND COUNT_BUCKET > 0 ORDER BY BUCKET_NUMBER\G *************************** 1. row *************************** SCHEMA_NAME: mydb DIGEST: bb3f69453119b2d7b3ae40673a9d4c7c BUCKET_NUMBER: 42 BUCKET_TIMER_LOW: 66069344 BUCKET_TIMER_HIGH: 69183097 COUNT_BUCKET: 1 COUNT_BUCKET_AND_LOWER: 1 BUCKET_QUANTILE: 0.058824 *************************** 2. row *************************** SCHEMA_NAME: mydb DIGEST: bb3f69453119b2d7b3ae40673a9d4c7c BUCKET_NUMBER: 43 BUCKET_TIMER_LOW: 69183097 BUCKET_TIMER_HIGH: 72443596 COUNT_BUCKET: 1 COUNT_BUCKET_AND_LOWER: 2 BUCKET_QUANTILE: 0.117647 *************************** 3. row *************************** SCHEMA_NAME: mydb DIGEST: bb3f69453119b2d7b3ae40673a9d4c7c BUCKET_NUMBER: 44 BUCKET_TIMER_LOW: 72443596 BUCKET_TIMER_HIGH: 75857757 COUNT_BUCKET: 2 COUNT_BUCKET_AND_LOWER: 4 BUCKET_QUANTILE: 0.235294 *************************** 4. row *************************** SCHEMA_NAME: mydb DIGEST: bb3f69453119b2d7b3ae40673a9d4c7c BUCKET_NUMBER: 45 BUCKET_TIMER_LOW: 75857757 BUCKET_TIMER_HIGH: 79432823 COUNT_BUCKET: 6 COUNT_BUCKET_AND_LOWER: 10 BUCKET_QUANTILE: 0.625000 ... BUCKET_TIMER_HIGH: 75857757 BUCKET_QUANTILE: 0.235294 BUCKET_TIMER_HIGH: 79432823 BUCKET_QUANTILE: 0.625000 For example, in row 3, these values indicate that 23.52% of queries run in under 75.86 microseconds: In row 4, these values indicate that 62.50% of queries run in under 79.44 microseconds: Each statement histogram summary table has one or more grouping columns to indicate how the table aggregates events: 5059 • events_statements_histogram_by_digest  has  SCHEMA_NAME ,  DIGEST , and  BUCKET_NUMBER columns: •The  SCHEMA_NAME  and  DIGEST  columns identify a statement digest row in the events_statements_summary_by_digest  table. •The  events_statements_histogram_by_digest  rows with the same  SCHEMA_NAME  and DIGEST  values comprise the histogram for that schema/digest combination. •Within a given histogram, the  BUCKET_NUMBER  column indicates the bucket number.