[MDEV-4589] CLOSE - query cache expent time searching query Created: 2013-05-27 Updated: 2013-06-19 Resolved: 2013-06-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Trivial |
| Reporter: | roberto spadim | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | querycache, querycache_insert | ||
| Issue Links: |
|
||||||||
| Description |
|
should be nice know how many time we "lost" in query cache searching a query to tune query cache better we could do this per qc query too after let's say +- 100hits, we can check if the query cache is faster than executing the query, ex: if expend query time to execute query is slower we could "mark" (just a math x>y) this query entry to be deleted first in a low memory situation this can be a new performace information (slow query cache entries) to know if our query cache is doing a god or a bad work too with this information we could tune better with MDEV-4588 with a per tables max queries in cache |
| Comments |
| Comment by roberto spadim [ 2013-05-27 ] |
|
an example from today qc plugin: select tables,sum(query_rows),count tables,sum(query_rows),count in other words, in this table we can "recreate" the cache in 350 seconds idea on how to tune? |
| Comment by roberto spadim [ 2013-05-28 ] |
|
the total qc time was added in last patch of i will learn more about qc low memory procedure and i will focus on removing some useless queries in cache to better cache use two prune global variables could do the job like: bye, i will send some patchs when possible |
| Comment by roberto spadim [ 2013-06-05 ] |
|
please close this MDEV, it's done in |