What happens to a Redis data store if the data exceeds available ram? [duplicate]

我的梦境 提交于 2019-12-08 19:36:17

问题


What happens to a Redis data store if the data exceeds available ram?


回答1:


I think there is a store size setting in redis config that will stop you adding more data than can fit in the store you have set up. If you set up a store that doesn't fit in physical memory, it will simply ask the OS for more memory and some of it will be paged to disk, with obvious performance consequences.

The next version of redis has its own virtual memory implementation which can store less frequently used keys on disk - http://antirez.com/post/redis-virtual-memory-story.html



来源:https://stackoverflow.com/questions/2604831/what-happens-to-a-redis-data-store-if-the-data-exceeds-available-ram

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!