Couchbase mem/disk replication
Hi,
I have a question about replication. I am reading through documentation and forum but still bit confused.
"if I have one bucket which have some amount of data in memory and remaing on disk. will it replicate both sets(mem/disk) of data on 2nd cluster bucket"
I would really appriciate any help.
Regards,
Haroon.
Hi Thanks for your ans and time. i think so I am bit clouser to what i am looking for.
my question is about 2nd point.
as you have mentioned all data will be present on each cluster. so the only point i want to confirm is. if i have a bucket X on cluster A. and bucket X has some data in RAM and some on disk. so when replication takes place on cluster B and bucket Y. will it have all the data from bucket X including data from RAM and Disk.
if I am still not clear please let me know. I will try to provide more information.
Thanks.
Hello Haroon,
It is another issue if all your data fits in memory or not, replication will work on vbucket's so yes, all your data will be replicated
Hello,
As you know in Couchbase we have 2 types of replications:
1- replication between nodes in a cluster
“Handling Replication within a Cluster”: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-tasks...
In this case the data are replicated on the x nodes of the cluster and has 1 or more replica. So the data are distributed on all the nodes.
2- replication between cluster that we call XDCR/Cross Data Center Replication
"Cross Datacenter Replication (XDCR)”: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-tasks...
When you do replication between cluster using XDCR all the data will be present on each clusters, and inside the cluster they will be distributed.
If my answer is not sufficient, could you please clarify your question and explain in which case (1 or 2) you want the answer.
Tug
@tgrall