@@ -9,106 +9,106 @@ into @ename;
9
9
Testing index for columns OBJECT_INSTANCE_BEGIN
10
10
====================================================================
11
11
############ Explain for Query ####################################
12
- explain select COUNT_STAR
12
+ explain select COUNT(*)
13
13
from performance_schema.file_summary_by_instance
14
14
where OBJECT_INSTANCE_BEGIN = "impossible";
15
15
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
16
16
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL # NULL no matching row in const table
17
17
############ Explain for Query ####################################
18
- explain select COUNT_STAR
18
+ explain select COUNT(*)
19
19
from performance_schema.file_summary_by_instance
20
20
where OBJECT_INSTANCE_BEGIN > "impossible";
21
21
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
22
22
1 SIMPLE file_summary_by_instance NULL ALL PRIMARY NULL NULL NULL # 33.33 Using where
23
23
############ Explain for Query ####################################
24
- explain select COUNT_STAR
24
+ explain select COUNT(*)
25
25
from performance_schema.file_summary_by_instance
26
26
where OBJECT_INSTANCE_BEGIN < "impossible";
27
27
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
28
28
1 SIMPLE file_summary_by_instance NULL ALL PRIMARY NULL NULL NULL # 33.33 Using where
29
29
############ Explain for Query ####################################
30
- explain select COUNT_STAR
30
+ explain select COUNT(*)
31
31
from performance_schema.file_summary_by_instance
32
32
where OBJECT_INSTANCE_BEGIN = @oib;
33
33
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
34
34
1 SIMPLE file_summary_by_instance NULL const PRIMARY PRIMARY 8 const # 100.00 NULL
35
35
############# Explain End #########################################
36
36
flush status;
37
- select COUNT_STAR
37
+ select COUNT(*)
38
38
from performance_schema.file_summary_by_instance
39
39
where OBJECT_INSTANCE_BEGIN = @oib;
40
- COUNT_STAR
40
+ COUNT(*)
41
41
#
42
42
OK: handler_read_key incremented
43
43
44
44
====================================================================
45
45
Testing index for columns FILE_NAME
46
46
====================================================================
47
47
############ Explain for Query ####################################
48
- explain select COUNT_STAR
48
+ explain select COUNT(*)
49
49
from performance_schema.file_summary_by_instance
50
50
where FILE_NAME = "impossible";
51
51
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
52
52
1 SIMPLE file_summary_by_instance NULL ref FILE_NAME FILE_NAME 1538 const # 100.00 NULL
53
53
############ Explain for Query ####################################
54
- explain select COUNT_STAR
54
+ explain select COUNT(*)
55
55
from performance_schema.file_summary_by_instance
56
56
where FILE_NAME > "impossible";
57
57
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
58
58
1 SIMPLE file_summary_by_instance NULL ALL FILE_NAME NULL NULL NULL # 33.33 Using where
59
59
############ Explain for Query ####################################
60
- explain select COUNT_STAR
60
+ explain select COUNT(*)
61
61
from performance_schema.file_summary_by_instance
62
62
where FILE_NAME < "impossible";
63
63
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
64
64
1 SIMPLE file_summary_by_instance NULL ALL FILE_NAME NULL NULL NULL # 33.33 Using where
65
65
############ Explain for Query ####################################
66
- explain select COUNT_STAR
66
+ explain select COUNT(*)
67
67
from performance_schema.file_summary_by_instance
68
68
where FILE_NAME = @fname;
69
69
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
70
70
1 SIMPLE file_summary_by_instance NULL ref FILE_NAME FILE_NAME 1538 const # 100.00 NULL
71
71
############# Explain End #########################################
72
72
flush status;
73
- select COUNT_STAR
73
+ select COUNT(*)
74
74
from performance_schema.file_summary_by_instance
75
75
where FILE_NAME = @fname;
76
- COUNT_STAR
76
+ COUNT(*)
77
77
#
78
78
OK: handler_read_key incremented
79
79
80
80
====================================================================
81
81
Testing index for columns EVENT_NAME
82
82
====================================================================
83
83
############ Explain for Query ####################################
84
- explain select COUNT_STAR
84
+ explain select COUNT(*)
85
85
from performance_schema.file_summary_by_instance
86
86
where EVENT_NAME = "impossible";
87
87
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
88
88
1 SIMPLE file_summary_by_instance NULL ref EVENT_NAME EVENT_NAME 386 const # 100.00 NULL
89
89
############ Explain for Query ####################################
90
- explain select COUNT_STAR
90
+ explain select COUNT(*)
91
91
from performance_schema.file_summary_by_instance
92
92
where EVENT_NAME > "impossible";
93
93
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
94
94
1 SIMPLE file_summary_by_instance NULL ALL EVENT_NAME NULL NULL NULL # 33.33 Using where
95
95
############ Explain for Query ####################################
96
- explain select COUNT_STAR
96
+ explain select COUNT(*)
97
97
from performance_schema.file_summary_by_instance
98
98
where EVENT_NAME < "impossible";
99
99
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
100
100
1 SIMPLE file_summary_by_instance NULL ALL EVENT_NAME NULL NULL NULL # 33.33 Using where
101
101
############ Explain for Query ####################################
102
- explain select COUNT_STAR
102
+ explain select COUNT(*)
103
103
from performance_schema.file_summary_by_instance
104
104
where EVENT_NAME = @ename;
105
105
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
106
106
1 SIMPLE file_summary_by_instance NULL ref EVENT_NAME EVENT_NAME 386 const # 100.00 NULL
107
107
############# Explain End #########################################
108
108
flush status;
109
- select COUNT_STAR
109
+ select COUNT(*)
110
110
from performance_schema.file_summary_by_instance
111
111
where EVENT_NAME = @ename;
112
- COUNT_STAR
112
+ COUNT(*)
113
113
#
114
114
OK: handler_read_key incremented
0 commit comments