VoltDB achieves on-disk durability via its command logging feature. Command logging is enabled via the
deployment.xml file. Command logging can not be enabled/disabled on a running cluster.
<deployment> <cluster hostcount="4" sitesperhost="2" kfactor="1" /> <commandlog enabled="true"/> </deployment>
Command logging has several configurable properties, including the path to the directory that log files will be written to, synchronous vs. asynchronous logging, as well as some performance tuning parameters. These are detailed in the Configuring Command Logging for Optimal Performance chapter of Using VoltDB. A deployment file showing all command logging options is included below for reference.
<deployment> <cluster hostcount="4" sitesperhost="2" kfactor="1" />… Read more