about ctdb data replication

Liujun (A) liujun09 at huawei.com
Thu Mar 14 05:07:42 MDT 2013



发件人: Amitay Isaacs [mailto:amitay at gmail.com]
发送时间: 2013年3月14日 18:59
收件人: Liujun (A)
抄送: samba-technical at samba.org
主题: Re: about ctdb data replication
Thanks,amitay. When the node increase to about 100 nodes or more, how about the performace for the persistent database.  Thanks again.

On Thu, Mar 14, 2013 at 8:32 PM, Liujun (A) <liujun09 at huawei.com<mailto:liujun09 at huawei.com>> wrote:
I know ctdb has a ltdb(local tdb) on each node , is the global db must store on share filesystem(like gfs),which all node can write and read from the global db.

CTDB does not need the databases to be stored in the shared storage. In fact it is designed such that the databases on each node are independent.

Another questions is if the same data are stored in each node for data recovery?

Recovery process will merge all the databases and then push them to all the nodes. So after recovery all the databases will be exact replica on all the nodes.  Persistent databases are always in sync (that is they are always the same across all the nodes). Non-persistent databases can change independently on all the nodes and do not need to be synchronized.
Amitay.


More information about the samba-technical mailing list