| 1 |
|
| 2 |
==================================================================== |
| 3 |
Testing index for columns EVENT_NAME |
| 4 |
==================================================================== |
| 5 |
############ Explain for Query #################################### |
| 6 |
explain select LOW_COUNT_USED |
| 7 |
from performance_schema.memory_summary_global_by_event_name |
| 8 |
where EVENT_NAME = "impossible"; |
| 9 |
id select_type table partitions type possible_keys key key_len ref rows filtered Extra |
| 10 |
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL # NULL no matching row in const table |
| 11 |
############ Explain for Query #################################### |
| 12 |
explain select LOW_COUNT_USED |
| 13 |
from performance_schema.memory_summary_global_by_event_name |
| 14 |
where EVENT_NAME > "impossible"; |
| 15 |
id select_type table partitions type possible_keys key key_len ref rows filtered Extra |
| 16 |
1 SIMPLE memory_summary_global_by_event_name NULL ALL PRIMARY NULL NULL NULL # 33.33 Using where |
| 17 |
############ Explain for Query #################################### |
| 18 |
explain select LOW_COUNT_USED |
| 19 |
from performance_schema.memory_summary_global_by_event_name |
| 20 |
where EVENT_NAME < "2"; |
| 21 |
id select_type table partitions type possible_keys key key_len ref rows filtered Extra |
| 22 |
1 SIMPLE memory_summary_global_by_event_name NULL ALL PRIMARY NULL NULL NULL # 33.33 Using where |
| 23 |
############ Explain for Query #################################### |
| 24 |
explain select LOW_COUNT_USED |
| 25 |
from performance_schema.memory_summary_global_by_event_name |
| 26 |
where EVENT_NAME = "memory/performance_schema/users"; |
| 27 |
id select_type table partitions type possible_keys key key_len ref rows filtered Extra |
| 28 |
1 SIMPLE memory_summary_global_by_event_name NULL const PRIMARY PRIMARY 514 const # 100.00 NULL |
| 29 |
############# Explain End ######################################### |
| 30 |
flush status; |
| 31 |
select LOW_COUNT_USED |
| 32 |
from performance_schema.memory_summary_global_by_event_name |
| 33 |
where EVENT_NAME = "memory/performance_schema/users"; |
| 34 |
LOW_COUNT_USED |
| 35 |
# |
| 36 |
OK: handler_read_key incremented |