Redis memory management

314 views
Skip to first unread message

calvin21

unread,
Jun 7, 2012, 4:57:23 PM6/7/12
to Redis DB
Could someone please help me understand in depth, memory management in
Redis?

I've read that Redis needs RAM that is sufficient to fit the entire
data set. Does this mean that both keys and values for all documents
are stored in memory?

If that is the case, is persistence to disk only for sake of
maintaining the data across restarts? Does this mean that after a
restart, the entire dataset is loaded from disk to memory?

Thanks!

Tim Lossen

unread,
Jun 7, 2012, 5:15:11 PM6/7/12
to redi...@googlegroups.com
yes, and yes. both keys and values have to fit into memory,
and on restart, the entire dataset is loaded again.

tim
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>

--
http://tim.lossen.de



Didier Spezia

unread,
Jun 8, 2012, 12:23:55 PM6/8/12
to redi...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages