2016-07-28 2 views
-1

J'ai essayé quelques expériences que je veux connaître les différences entre la communauté de VoltDB et enterprise.And Je l'ai fait:L'édition communautaire de VoltDB prend-elle en charge la réplication de base de données passive?

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. 

Je veux savoir quel est le problème Merci un lot de l'aide!

Répondre

1

La réplication de base de données n'est pas disponible dans l'édition communautaire de VoltDB. XDCR (actif/actif, actif/passif), haute disponibilité, exportation et durabilité complète sont uniquement disponibles dans Enterprise Edition. Notre page wiki GitHub propose une brève description des différences ici: https://github.com/VoltDB/voltdb#commercial-voltdb-differences

Merci,

John