Debian Codegraph @

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

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