query_response_time_range_base is not read on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Laurynas Biveinis | ||
5.5 |
Fix Released
|
Medium
|
Laurynas Biveinis | ||
5.6 |
Fix Released
|
Medium
|
Laurynas Biveinis |
Bug Description
This is a duplicate/extension of https:/
This now effects 5.5 and 5.6
5.6
[vagrant@build ~]$ sudo /sbin/service mysql restart
Shutting down MySQL (Percona Server)... [ OK ]
Starting MySQL (Percona Server). [ OK ]
[vagrant@build ~]$ sudo mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.24-72.2 Percona Server (GPL), Release 72.2, Revision 8d0f85b
Copyright (c) 2009-2015 Percona LLC and/or its affiliates
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> SELECT VERSION();
+-------------+
| VERSION() |
+-------------+
| 5.6.24-72.2 |
+-------------+
1 row in set (0.00 sec)
mysql> SELECT * FROM information_
+------
| TIME | COUNT | TOTAL |
+------
| 0.000001 | 0 | 0.000000 |
| 0.000010 | 0 | 0.000000 |
| 0.000100 | 1 | 0.000081 |
| 0.001000 | 2 | 0.000327 |
| 0.010000 | 0 | 0.000000 |
| 0.100000 | 0 | 0.000000 |
| 1.000000 | 0 | 0.000000 |
| 10.000000 | 0 | 0.000000 |
| 100.000000 | 0 | 0.000000 |
| 1000.000000 | 0 | 0.000000 |
| 10000.000000 | 0 | 0.000000 |
| 100000.000000 | 0 | 0.000000 |
| 1000000.000000 | 0 | 0.000000 |
| TOO LONG | 0 | TOO LONG |
+------
14 rows in set (0.00 sec)
mysql> SHOW GLOBAL VARIABLES LIKE '%query_
+------
| Variable_name | Value |
+------
| query_response_
| query_response_
| query_response_
+------
3 rows in set (0.00 sec)
mysql> SHOW GLOBAL STATUS LIKE '%query_
Empty set (0.00 sec)
mysql> SET GLOBAL query_response_
Query OK, 0 rows affected (0.00 sec)
mysql> SELECT * FROM information_
+------
| TIME | COUNT | TOTAL |
+------
| 0.000001 | 0 | 0.000000 |
| 0.000003 | 0 | 0.000000 |
| 0.000007 | 0 | 0.000000 |
| 0.000015 | 0 | 0.000000 |
| 0.000030 | 0 | 0.000000 |
| 0.000061 | 0 | 0.000000 |
| 0.000122 | 1 | 0.000089 |
| 0.000244 | 0 | 0.000000 |
| 0.000488 | 0 | 0.000000 |
| 0.000976 | 0 | 0.000000 |
| 0.001953 | 0 | 0.000000 |
| 0.003906 | 0 | 0.000000 |
| 0.007812 | 0 | 0.000000 |
| 0.015625 | 0 | 0.000000 |
| 0.031250 | 0 | 0.000000 |
| 0.062500 | 0 | 0.000000 |
| 0.125000 | 0 | 0.000000 |
| 0.250000 | 0 | 0.000000 |
| 0.500000 | 0 | 0.000000 |
| 1.000000 | 0 | 0.000000 |
| 2.000000 | 0 | 0.000000 |
| 4.000000 | 0 | 0.000000 |
| 8.000000 | 0 | 0.000000 |
| 16.000000 | 0 | 0.000000 |
| 32.000000 | 0 | 0.000000 |
| 64.000000 | 0 | 0.000000 |
| 128.000000 | 0 | 0.000000 |
| 256.000000 | 0 | 0.000000 |
| 512.000000 | 0 | 0.000000 |
| 1024.000000 | 0 | 0.000000 |
| 2048.000000 | 0 | 0.000000 |
| 4096.000000 | 0 | 0.000000 |
| 8192.000000 | 0 | 0.000000 |
| 16384.000000 | 0 | 0.000000 |
| 32768.000000 | 0 | 0.000000 |
| 65536.000000 | 0 | 0.000000 |
| 131072.000000 | 0 | 0.000000 |
| 262144.000000 | 0 | 0.000000 |
| 524288.000000 | 0 | 0.000000 |
| 1048576.000000 | 0 | 0.000000 |
| 2097152.000000 | 0 | 0.000000 |
| 4194304.000000 | 0 | 0.000000 |
| 8388608.000000 | 0 | 0.000000 |
| TOO LONG | 0 | TOO LONG |
+------
44 rows in set (0.00 sec)
5.5
mysql> SELECT * FROM information_
+------
| time | count | total |
+------
| 0.000001 | 0 | 0.000000 |
| 0.000010 | 0 | 0.000000 |
| 0.000100 | 0 | 0.000000 |
| 0.001000 | 0 | 0.000000 |
| 0.010000 | 0 | 0.000000 |
| 0.100000 | 0 | 0.000000 |
| 1.000000 | 0 | 0.000000 |
| 10.000000 | 0 | 0.000000 |
| 100.000000 | 0 | 0.000000 |
| 1000.000000 | 0 | 0.000000 |
| 10000.000000 | 0 | 0.000000 |
| 100000.000000 | 0 | 0.000000 |
| 1000000.000000 | 0 | 0.000000 |
| TOO LONG | 0 | TOO LONG |
+------
14 rows in set (0.00 sec)
mysql> SHOW GLOBAL VARIABLES LIKE '%query%';
+------
| Variable_name | Value |
+------
| ft_query_
| have_query_cache | YES |
| long_query_time | 10.000000 |
| query_alloc_
| query_cache_limit | 1048576 |
| query_cache_
| query_cache_size | 0 |
| query_cache_
| query_cache_type | ON |
| query_cache_
| query_prealloc_size | 8192 |
| query_response_
| query_response_
| slow_query_log | OFF |
| slow_query_
| slow_query_log_file | /var/lib/
| slow_query_
| slow_query_
| slow_query_
+------
19 rows in set (0.00 sec)
mysql> FLUSH QUERY_RESPONSE_
Query OK, 0 rows affected (0.00 sec)
mysql> SELECT * FROM information_
+------
| time | count | total |
+------
| 0.000001 | 0 | 0.000000 |
| 0.000003 | 0 | 0.000000 |
| 0.000007 | 0 | 0.000000 |
| 0.000015 | 0 | 0.000000 |
| 0.000030 | 0 | 0.000000 |
| 0.000061 | 0 | 0.000000 |
| 0.000122 | 0 | 0.000000 |
| 0.000244 | 0 | 0.000000 |
| 0.000488 | 0 | 0.000000 |
| 0.000976 | 0 | 0.000000 |
| 0.001953 | 0 | 0.000000 |
| 0.003906 | 0 | 0.000000 |
| 0.007812 | 0 | 0.000000 |
| 0.015625 | 0 | 0.000000 |
| 0.031250 | 0 | 0.000000 |
| 0.062500 | 0 | 0.000000 |
| 0.125000 | 0 | 0.000000 |
| 0.250000 | 0 | 0.000000 |
| 0.500000 | 0 | 0.000000 |
| 1.000000 | 0 | 0.000000 |
| 2.000000 | 0 | 0.000000 |
| 4.000000 | 0 | 0.000000 |
| 8.000000 | 0 | 0.000000 |
| 16.000000 | 0 | 0.000000 |
| 32.000000 | 0 | 0.000000 |
| 64.000000 | 0 | 0.000000 |
| 128.000000 | 0 | 0.000000 |
| 256.000000 | 0 | 0.000000 |
| 512.000000 | 0 | 0.000000 |
| 1024.000000 | 0 | 0.000000 |
| 2048.000000 | 0 | 0.000000 |
| 4096.000000 | 0 | 0.000000 |
| 8192.000000 | 0 | 0.000000 |
| 16384.000000 | 0 | 0.000000 |
| 32768.000000 | 0 | 0.000000 |
| 65536.000000 | 0 | 0.000000 |
| 131072.000000 | 0 | 0.000000 |
| 262144.000000 | 0 | 0.000000 |
| 524288.000000 | 0 | 0.000000 |
| 1048576.000000 | 0 | 0.000000 |
| 2097152.000000 | 0 | 0.000000 |
| 4194304.000000 | 0 | 0.000000 |
| 8388608.000000 | 0 | 0.000000 |
| TOO LONG | 0 | TOO LONG |
+------
44 rows in set (0.00 sec)
tags: | added: contribution low-hanging-fruit query-response-time |
Changed in percona-server: | |
assignee: | nobody → Muhammad Irfan (muhammad-irfan) |
Changed in percona-server: | |
assignee: | Muhammad Irfan (muhammad-irfan) → nobody |
The bug is triaged here: https:/ /github. com/percona/ percona- server/ pull/72