[MDEV-6778] Include number of concurrent queries while insert into query cache Created: 2014-09-24 Updated: 2015-10-29 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Query Cache |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | roberto spadim | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
when insertint at query cache we can have competitiors with the same query |
| Comments |
| Comment by Sergei Golubchik [ 2014-10-10 ] | |||||||||||||||
|
what do you mean? | |||||||||||||||
| Comment by roberto spadim [ 2014-10-13 ] | |||||||||||||||
|
hi sergei, sorry the delay, i'm talking about same query being inserted twice: show be nice have a status variable (global) to count how many refused queries we have and how many was 'concurrent insert into query cache' | |||||||||||||||
| Comment by Sergei Golubchik [ 2014-10-13 ] | |||||||||||||||
|
Ah, I see, thanks. More questions:
| |||||||||||||||
| Comment by roberto spadim [ 2014-10-13 ] | |||||||||||||||
|
Hi About the global status that's insteresting to check about refuse indormation, if we have a very high qps trying to insert at query cache, or if we have a very bad hit rate or low memory | |||||||||||||||
| Comment by roberto spadim [ 2014-10-13 ] | |||||||||||||||
|
This mdev is just an improvement of | |||||||||||||||
| Comment by roberto spadim [ 2014-10-13 ] | |||||||||||||||
|
About the "*10" can be found as QUERY_CACHE_QC_INFO_PERIOD_OUTLIER I included a comment at github now (commit 79102cd425 at github rspadim/server branch qc_info_statistics) Sql_cache.h
|