-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs - caching updates #42857
docs - caching updates #42857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Added a few comments
docs/configuring-metabase/caching.md
Outdated
|
||
Your Metabase instance keeps track of how long it takes each question to run. The average query execution time is used in your [caching settings](#caching-settings). | ||
Pick when to regularly invalidate the cache. Metabase will periodically run the query according to the schedule you set and store the results. Other people running queries have no effect on when the results are refreshed; they'll always get the cached results unless they explicitly [clear the cache](#clearing-the-cache). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metabase doesn't periodically run queries.
We periodically invalidate the cache.
If it is scheduled to invalidate the cache every 6h starting midnight, we will invalidate the cache (if it exists) at 0, 6, 12, and 18.
If no one runs the query in this interval, there won't be any cache and nothing will be invalidated.
Also, the query will run at least once in the interval (to create the cache)
|
||
You can tell Metabase when and what to cache from **Admin settings** > **Caching**: | ||
We do not yet support lunar cycles. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
@jeff-bruemmer Did you forget to add a milestone to the issue for this PR? When and where should I add a milestone? |
Updates docs to reflect new caching controls.