【问题标题】:Does the community edition of VoltDB support Passive Database Replication?VoltDB 社区版是否支持被动数据库复制?
【发布时间】:2016-07-28 08:20:47
【问题描述】:

我尝试了一些实验,想知道 VoltDB 社区和企业之间的区别。我这样做了:

    1. I wrote some words into the deployment.xml of the Master Cluster:
       <dr id="1" />
    2. Then I started the Master Cluster successd.
       [The Master Cluster started successfully.][http://i.stack.imgur.com/BO5e9.png]


    3. I wrote some words into the deployment.xml of the Replica Cluster:
       <dr id="2">
           <connection source="voltsvr1" />
       </dr>
    4. I created a table into the Master Cluster:
       CREATE TABLE STORE (
       KEYSPACE varbinary(128) NOT NULL,
       KEY varchar(128) NOT NULL,
       VALUE varbinary(2056) NOT NULL,
       PRIMARY KEY (KEYSPACE, KEY)
       );
       PARTITION TABLE STORE ON COLUMN KEY;
       DR TABLE STORE;

    5. Then I started the Replica Cluster with --replica option:
       [The Replica Cluster started successfully.][http://i.stack.imgur.com/5zbxJ.png]


    6. I used the same statements to create a same table store like the  table in the      Master Cluster:
       CREATE TABLE STORE (
       KEYSPACE varbinary(128) NOT NULL,
       KEY varchar(128) NOT NULL,
       VALUE varbinary(2056) NOT NULL,
       PRIMARY KEY (KEYSPACE, KEY)
       );
       PARTITION TABLE STORE ON COLUMN KEY;
       DR TABLE STORE;

    7. I loaded some data into the table store of the Master Cluster, but   the table store of Replica Cluster could't get data from the Master Cluster.

我想知道有什么问题? 非常感谢您的帮助!

【问题讨论】:

    标签: voltdb


    【解决方案1】:

    数据库复制在 VoltDB 的社区版中不可用。 XDCR(主动/主动、主动/被动)、高可用性、导出和完全持久性仅在企业版中可用。我们的 github wiki 页面简要描述了这里的差异: https://github.com/VoltDB/voltdb#commercial-voltdb-differences

    谢谢,

    约翰

    【讨论】:

      猜你喜欢
      • 2019-11-17
      • 2021-06-06
      • 2019-07-23
      • 1970-01-01
      • 1970-01-01
      • 2015-11-18
      • 1970-01-01
      • 2021-05-16
      • 1970-01-01
      相关资源
      最近更新 更多