Replies: 2 comments 2 replies
-
LandscapeComing from pqc and Pgpool, but also looking at other solutions, transparent proxying or not.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Would be great if we could come up with some rough numbers to understand if using a dedicated query cache will increase read performance at all, given also that CrateDB has it's own (single node) query cache. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
About
We regularly share a few thoughts about query caching in CrateDB, to increase read performance for frequent redundant queries. This discussion thread is meant to better materialize them.
Details
PostgreSQL had an early PostgreSQL Query Cache (*2011), see pqc, but has probably been superseded by Pgpool's In Memory Query Cache and other implementations today. Internally, PostgreSQL's caching exclusively applies to save disk i/o as a page-level cache, right?
Note there is also a long-running request to improve corresponding documentation about the underlying caching mechanisms of CrateDB inherited by Elasticsearch.
Note that some are also asking about How to clear the query cache?, while there isn't anyone yet.
Thoughts
Of course, you can always employ an application-based cache, but sometimes, you just can't. In this spirit, this discussion has a primary focus on transparent caching like Pgpool is doing it, in a very traditional way to trade memory for speed.
Beta Was this translation helpful? Give feedback.
All reactions