Server memory requirements
I am new to couchbase and am wondering about server memory. in the developer documentation i saw an example of a bucket that contained 100mil rows and would take 45gb of server memory to hold the keys in memory. if i had this same data set and had two nodes, i assume that each node would still need 45gb of data (as one contains a replica of the other's data for redundancy). i would also guess that if i had 3 servers, that the data requirement would be cut down 33% as each of the nodes would have 2/3 of the data (1/3 of primary data and 1/3 redundant). so, each of the 3 servers would need 30gb of ram in this scenario.
so ... my question is ... are my assumptions correct? does each server need enough memory to hold the keys for its data plus the redundant data in memory? or does each server need memory for its primary data set keys? or does each server need enough memory for all of the keys?
hope this makes sense. i'm trying to plan an implementation of a server deployment and need to calculate how much ram to get in each server.
tia,
don
Thanks for the information. I'll check out the links. I did watch the video already. I may have missed it, but I was specifically looking for whether the "backup/replicated" data on a node had its keys stored in memory. Seems you've answered that in the affirmative for me. I appreciate your answer.
Thanks so much,
Don
Hello Don,
Yes you are correct.
If you have not yet look at :
- Sizing Guide : http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractic...
- Couchbase in Production by Perry : http://www.couchbase.com/presentations/couchbase-server-24x7-production
This would add more information to help you on this task.
Regards
Tug
@tgrall