[MDEV-6370] QUERY CACHE - One Cache Per Table Created: 2014-06-21 Updated: 2014-09-26 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | BELUGABEHR | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This is just a thought. Trying to spawn some ideas. This request is to replicate the Query Cache, one instance for each table. This would allow for a slightly more fine-grained control of the query cache. So, instead of storing the name of the table involved with each query, each table would have a reference to its own instance of the Query Cache. For queries that involved more than one table, a "general" Query Cache would be employed that acts much like the current implementation does. An immediate downside I can see is that each time a query comes it, it would have to do a linear search of the packet in all the caches. Because each table has its own cache, any cache could be disabled. This would have the effect of ignoring (not caching) queries for a given a table. |
| Comments |
| Comment by roberto spadim [ 2014-09-26 ] |
|
hi guy, you like query cache right? check this: http://rspadim.blogspot.com.br/2014/09/more-about-query-cache.html |