GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — 3.4. Restarting the Database Documentation3.4. Restarting the DatabaseRestarting a VoltDB database is different than starting it for the first time. How you restart the database depends on what durability features were in effect previously. If you just use the voltdb create command, you create a new, empty database. Because VoltDB keeps its data in memory, to return the database to its last known state — including its content — you need to restore the data from a saved copy. If you are using automatic snapshots or command logging, VoltDB can automatically reinstate the data when you use the voltdb recover command: $ voltdb recover --deployment=deployment.xml \
--host=voltsvr1 \
--license=~/license.xml Because the schema is saved with the data, you do not need to specify an application catalog when recovering a previous database session. However, just as when starting a database for the first time, you must invoke the recover command on all nodes of the cluster before the database can start, When you recover a VoltDB database, the cluster performs the same initial coordination activities as when creating a new database: the host node facilitates establishing a quorum and ensures all nodes connect. Then the database servers restore the most recent snapshot plus (if command logging is enabled) the last logged transactions. Once all data is restored, the database enables client access. If you are not using automatic snapshots or command logging, you must restore the last snapshot manually. You do this with the following procedure:
For example, if the last snapshot was saved in $ voltadmin pause $ voltadmin restore /tmp/voltdb backup $ voltadmin resume |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |