Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

As redis keeps data in memory, what can be the maximum size of data stored in Redis

Tags:

redis

nosql

I don't know much about redis, but what I know is Redis stores data in key-value format in memory and data is also persistent as stored in disk in intervals.

So I want to know, Let say if the RAM is 10GB, then can we store data in redis more than 10GB?

In fact, I am not much clear with the disk and memory usages that redis use to store.

like image 807
Pankaj Garg Avatar asked Jul 17 '15 20:07

Pankaj Garg


1 Answers

From the Redis FAQ:

Redis is an in-memory but persistent on disk database, so it represents a different trade off where very high write and read speed is achieved with the limitation of data sets that can't be larger than memory.

So, unfortunately, no, your datasize is limited to the amount of RAM you've allowed Redis to use.

like image 120
Will Avatar answered Sep 28 '22 04:09

Will