Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.31
-
None
-
None
Description
MariaDB [test]> set global query_cache_size = 1024*1024; |
Query OK, 0 rows affected (0.00 sec) |
|
MariaDB [test]> select * from information_schema.query_cache_info; |
Empty set (0.00 sec) |
|
MariaDB [test]> set global query_cache_size = 0; |
Query OK, 0 rows affected (0.00 sec) |
|
MariaDB [test]> select * from information_schema.query_cache_info; |
ERROR 1105 (HY000): Unknown error
|
bzr version-info
revision-id: monty@askmonty.org-20130512082916-vjlzg3tjtlbvnowy
|
revno: 3759
|
branch-nick: 5.5
|
Attachments
Issue Links
- relates to
-
MDEV-249 QUERY CACHE INFORMATION
-
- Closed
-
Activity
Link | This issue relates to TODO-60 [ TODO-60 ] |
Comment |
[ file #sqlc24_7_1a6.MAD http://www.megafileupload.com/en/file/420206/-sqlc24-7-1a6-MAD.html sorry there wasn't another open place to upload a binary file ] |
Comment |
[ hum.. temporary file isn't deleted my temporary folder have about 10 files like this #sqlc24_7_16e.MAD #sqlc24_7_16c.MAD #sqlc24_7_2d4.MAD #sqlc24_7_2b8.MAD ... ] |
Comment |
[ 1)flush query cache don't work Qcache_queries_in_cache=1 select * from query_cache_info -> return 1 row FLUSH QUERY CACHE; Qcache_queries_in_cache=1 select * from query_cache_info -> return 1 row (the same row) flush tables works... Qcache_queries_in_cache=1 select * from query_cache_info -> return 1 row FLUSH TABLES; Qcache_queries_in_cache=0 select * from query_cache_info -> return 0 row 2) "select * from query_cache_information" many times per second (press f5 in heidisql and leave pressed) give errors some times, errcode=13 (no permission?) sql err=6 (problem deleting temporary file) maybe a problem when deleting some temporary table file show warnings "Level" "Code" "Message" "Error" "6" "Error on delete of 'C:\Users\Beto\AppData\Local\Temp\#sqlc24_7_1a6.MAD' (Errcode: 13)" 3)when query_cache_size=0 set global query_cache_size=0; select * from `information_schema`.`QUERY_CACHE_INFO`; /* Erro SQL (1105): Unknown error */ 4)DELETE? could we delete some query cached? ok =) not now, but maybe in future? 5)more columns i don't know if we have this information but, could be nice have a hit_count per query 6)how to use query_cache_stip_comments var? what it do? how to use it? ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | diff_qc_info.cc [ 22229 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 27380 ] | MariaDB v2 [ 46391 ] |
Workflow | MariaDB v2 [ 46391 ] | MariaDB v3 [ 67094 ] |
Workflow | MariaDB v3 [ 67094 ] | MariaDB v4 [ 146692 ] |
MDEV-249have more information about others errors1)flush query cache don't work (DISCONSIDER THIS, I SHOULD USE reset query cache)
Qcache_queries_in_cache=1
select * from query_cache_info -> return 1 row
FLUSH QUERY CACHE;
Qcache_queries_in_cache=1
select * from query_cache_info -> return 1 row (the same row)
-------
flush tables works...
Qcache_queries_in_cache=1
select * from query_cache_info -> return 1 row
FLUSH TABLES;
Qcache_queries_in_cache=0
select * from query_cache_info -> return 0 row
-------
uninstall plugin QUERY_CACHE_INFO;
Qcache_queries_in_cache=1;
flush query cache;
Qcache_queries_in_cache=1;
that's not a plugin problem, maybe a mariadb query cache problem
2)
"select * from query_cache_information"
many times per second (press f5 in heidisql and leave pressed)
give errors some times, errcode=13 (no permission?) sql err=6 (problem deleting file)
show warnings
"Level" "Code" "Message"
"Error" "6" "Error on delete of 'C:\Users\Beto\AppData\Local\Temp#sqlc24_7_1a6.MAD' (Errcode: 13)"
file #sqlc24_7_1a6.MAD
http://www.megafileupload.com/en/file/420206/-sqlc24-7-1a6-MAD.html
sorry there wasn't another open place to upload a binary file
hum.. temporary file isn't deleted
my temporary folder have about 10 files like this
#sqlc24_7_16e.MAD
#sqlc24_7_16c.MAD
#sqlc24_7_2d4.MAD
#sqlc24_7_2b8.MAD
....
3)when query_cache_size=0
set global query_cache_size=0;
select * from `information_schema`.`QUERY_CACHE_INFO`;
/* Erro SQL (1105): Unknown error */
4)DELETE?
could we delete some query cached? ok =) not now, but maybe in future?
5)more columns
i don't know if we have this information but, could be nice have a hit_count per query
6)how to use "query_cache_strip_comments" var?
what it do? how to use it?