Why query cache does not use cache.ordercache #72807
cindyzqtnew
started this conversation in
General
Replies: 1 comment 5 replies
-
I think the reason is that the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently look into the implementation of query cache and have some questions.
The query cache is implemented brand new. But why doesn't it use cache.ordercache which is used by range cache?
I know the difference is that each entry might have different size in the query cache while entry size is same in order cache. But query cache has limit of entry size, so we could relatively control the total cache size <= (max(entry size) * # of entry). What's more, the entry size of query cache is just calculated roughly in the current implementation.
I don't see why we have 2 implementations of cache, while the order cache is implemented generally. Is it because of any performance issue, or others?
Beta Was this translation helpful? Give feedback.
All reactions