What happens to a Redis data store if the data exc

2019-06-18 23:28发布

This question already has an answer here:

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

1条回答
家丑人穷心不美
2楼-- · 2019-06-19 00:02

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

查看更多
登录 后发表回答