If the cache is full, then what gets dropped first?

Knowledge Drop

Last tested: May 2021

Looker's default max cache size is 2GB. This can be changed with the --on-disk-cache-size=<i> startup option, where <i> is a number of megabytes (so, default 2000).

If your Looker instance detects that the on-disk cache exceeds the max, then it starts purging old cache entries until the limit is no longer exceeded. The algorithm to determine which entries to purge considers the age of a cache entry as well as the last time that cache entry was accessed.

This content is subject to limited support.                

Comments
Anton2
Participant I

Maybe you know what the max size persistent disk has for Lookers cache?

Version history
Last update:
‎06-02-2021 04:53 PM
Updated by: