There are 2000W data in MySQL and only 20W data in redis. How to ensure that all data in redis are hot data?

Alibaba cloud Q & A 2022-02-13 08:31:03 阅读数:643

2000w data mysql 20w data

MySQL Are there in 2000w data ,redis The only known 20w The data of , How to ensure redis The data in is hot data ?




Take the answer 1:

redis When the size of the memory data set rises to a certain size , Data elimination strategies will be implemented .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130831018365.html