Debian Codegraph @

mysql-test/suite/perfschema/r/idx_ees_global_by_error.result

raw
1
2 ====================================================================
3 Testing index for columns ERROR_NUMBER
4 ====================================================================
5 ############ Explain for Query ####################################
6 explain select SUM_ERROR_RAISED
7 from performance_schema.events_errors_summary_global_by_error
8 where ERROR_NUMBER = "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 SUM_ERROR_RAISED
13 from performance_schema.events_errors_summary_global_by_error
14 where ERROR_NUMBER > "impossible";
15 id select_type table partitions type possible_keys key key_len ref rows filtered Extra
16 1 SIMPLE events_errors_summary_global_by_error NULL ALL ERROR_NUMBER NULL NULL NULL # 33.33 Using where
17 ############ Explain for Query ####################################
18 explain select SUM_ERROR_RAISED
19 from performance_schema.events_errors_summary_global_by_error
20 where ERROR_NUMBER < "2";
21 id select_type table partitions type possible_keys key key_len ref rows filtered Extra
22 1 SIMPLE events_errors_summary_global_by_error NULL ALL ERROR_NUMBER NULL NULL NULL # 33.33 Using where
23 ############ Explain for Query ####################################
24 explain select SUM_ERROR_RAISED
25 from performance_schema.events_errors_summary_global_by_error
26 where ERROR_NUMBER = "1146";
27 id select_type table partitions type possible_keys key key_len ref rows filtered Extra
28 1 SIMPLE events_errors_summary_global_by_error NULL const ERROR_NUMBER ERROR_NUMBER 5 const # 100.00 NULL
29 ############# Explain End #########################################
30 flush status;
31 select SUM_ERROR_RAISED
32 from performance_schema.events_errors_summary_global_by_error
33 where ERROR_NUMBER = "1146";
34 SUM_ERROR_RAISED
35 #
36 OK: handler_read_key incremented