3.5. Restarting a VoltDB Database

Documentation

VoltDB Home » Documentation » Using VoltDB

3.5. Restarting a VoltDB Database

Once a database stops, you can restart it using the same voltdb start command used to start the database the first time. Once the database starts, any command logs or snapshots are restored. In the VoltDB Enterprise Edition, command logs automatically restore the last state of the database. If no command log exist but a snapshot does, the database is restored to its state when that snapshot was taken. For example, the following command restarts a single-node database:

$ voltdb start

To restart a database on a cluster, issue the same voltdb start command used to start that cluster, including the server count and list of host nodes. For example:

$ voltdb start --count=5 -–host=voltsvr1