Sunday, 3 May 2015

Durability of VoltDB

Only the enterprise edition supports durability, e.g command loging and snapshot. The voltadmin save and restore commands and command logging are available in Enterprise Edition only. If you are using the VoltDB Community Edition you will need to reload the schema and data each time you restart the database process.

The easiest way to preserve the database is to use command logging, which is enabled by default for the VoltDB Enterprise Edition. Command logging logs all of the database activity, including schema and data changes, to disk.

Snapshots are a complete disk-based representation of a VoltDB database, including everything needed to reproduce the database after a shutdown. You can create a snapshot of a running VoltDB database at anytime using the voltadmin save command.

If the database you are working on has stopped, use voltdb recover to restart it. Do not rerun the voltdb create command or your schema and data will be reinitialized to an empty database.


Create a new database
$voltdb create

Restart a database
$voltdb recover

Shutdown a database
$voltadmin shutdown




Hardware requirements

  • VoltDB can operate on heterogeneous clusters. However, the best performance is achieved by homogenous cluster.
  • You must run the Network Time Protocol (NTP) on all of the cluster nodes, preferably synchronizing against the same local time server. If the time skew between nodes in the cluster is greater than 100 milliseconds, VoltDB cannot start the database.

No comments:

Post a Comment