What does redis do when the system runs out of memory?

redis sets the maximum memory by default
if it exceeds the maximum memory, she will have a mechanism for deleting it

but if the system itself is out of memory
, it will cause redis to delete some data

.
Jun.02,2021

Redis 
LRU:; LFU:

:LFU  10  LRU  :

volatile-lru  key;
allkeys-lru  key  key;
volatile-lfu  key;
allkeys-lfu  key  key ;
valatile-random  key;
allkeys-random  key  key;
volatile-ttl  key  key;
noeviction  Redis 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38fd7-2c13d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38fd7-2c13d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?